diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-06-08 22:16:59 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-09 10:53:23 +0100 |
commit | 3135b8c378f9f98ae66e37fd79d305764334980d (patch) | |
tree | 2f07f980cb24e5455644b1f216be7de706c72c70 /daemon/mount.c | |
parent | 7fae594df719d1d81a043c4d0280b359f750facb (diff) | |
download | libguestfs-3135b8c378f9f98ae66e37fd79d305764334980d.tar.gz libguestfs-3135b8c378f9f98ae66e37fd79d305764334980d.tar.xz libguestfs-3135b8c378f9f98ae66e37fd79d305764334980d.zip |
Coverity: Don't leak error strings.
Diffstat (limited to 'daemon/mount.c')
-rw-r--r-- | daemon/mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/mount.c b/daemon/mount.c index 098283a0..be289dad 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -116,6 +116,7 @@ do_mount_vfs (const char *options, const char *vfstype, return -1; } + free (error); return 0; } @@ -367,6 +368,7 @@ do_mount_loop (const char *file, const char *mountpoint) return -1; } + free (error); return 0; } |