diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2008-03-25 21:20:40 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-03-25 21:20:40 +0000 |
commit | f2625f11065b6a1e58e4ba43e5534ecfdb410a86 (patch) | |
tree | b88455b36d924dba9df5944c78d1c1d8f2a87571 /lib/mount.c | |
parent | 25b5fdbccab1a05f8d772efb0e43a98ac6abea30 (diff) |
Fix memory leaks on mount
Diffstat (limited to 'lib/mount.c')
-rw-r--r-- | lib/mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |