X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fmount.c;h=be289dade5865327f65bea16481c733c318b1173;hb=d28d76b4fba3afe18757ab848346e8123a8bcae1;hp=098283a05f4f0a22749202f391c110736e777e95;hpb=7fae594df719d1d81a043c4d0280b359f750facb;p=libguestfs.git diff --git a/daemon/mount.c b/daemon/mount.c index 098283a..be289da 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; }