X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fmount.c;h=128b05b066330e2b4441be26a5f663ff03a3812f;hb=913d5cd3a950a35f19581262250f58a871689d8c;hp=1238ad2b57b01679056381715d5fa91de8f521db;hpb=1a1be3e66ff810f6fabcb04f48621acb4673cf1f;p=libguestfs.git diff --git a/daemon/mount.c b/daemon/mount.c index 1238ad2..128b05b 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -79,6 +79,7 @@ do_mount_vfs (const char *options, const char *vfstype, if (is_root) root_mounted = 1; + free (error); return 0; } @@ -364,6 +365,7 @@ do_mount_loop (const char *file, const char *mountpoint) return -1; } + free (error); return 0; }