X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fmount.c;h=ab43c20a87bdcacbf909eaacc77d1decbc300db4;hb=31bf0cf313f21bdeb0d166c4c76aad050ad32232;hp=098283a05f4f0a22749202f391c110736e777e95;hpb=7fae594df719d1d81a043c4d0280b359f750facb;p=libguestfs.git diff --git a/daemon/mount.c b/daemon/mount.c index 098283a..ab43c20 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -116,13 +116,14 @@ do_mount_vfs (const char *options, const char *vfstype, return -1; } + free (error); return 0; } int do_mount (const char *device, const char *mountpoint) { - return do_mount_vfs ("sync,noatime", NULL, device, mountpoint); + return do_mount_vfs ("", NULL, device, mountpoint); } int @@ -367,6 +368,7 @@ do_mount_loop (const char *file, const char *mountpoint) return -1; } + free (error); return 0; }