X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=daemon%2Fmount.c;h=98b94889f872e77ecfa5a4319eb4a729f1480d4f;hp=098283a05f4f0a22749202f391c110736e777e95;hb=9ba779ea367b2ea7077da7bdd75e813cd06c7eea;hpb=7fae594df719d1d81a043c4d0280b359f750facb diff --git a/daemon/mount.c b/daemon/mount.c index 098283a..98b9488 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -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; }