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 --- util/fusermount.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/fusermount.c') diff --git a/util/fusermount.c b/util/fusermount.c index e3c98c5..12e0c9f 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -526,6 +526,7 @@ static int do_mount(const char *mnt, char **typep, mode_t rootmode, *typep = type; *mnt_optsp = mnt_opts; } + free(fsname); free(optbuf); return res; -- cgit v1.2.3