From f2625f11065b6a1e58e4ba43e5534ecfdb410a86 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 25 Mar 2008 21:20:40 +0000 Subject: Fix memory leaks on mount --- lib/mount.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/mount.c') diff --git a/lib/mount.c b/lib/mount.c index ed5f56d..159dc48 100644 --- a/lib/mount.c +++ b/lib/mount.c @@ -496,6 +496,8 @@ static int fuse_mount_sys(const char *mnt, struct mount_opts *mo, if (res == -1) goto out_umount; } + free(type); + free(source); return fd; -- cgit v1.2.3