From f2b8efc36a3abaa8ada37835b406b8f9e0af646a Mon Sep 17 00:00:00 2001 From: szaka Date: Sun, 23 Mar 2008 14:33:26 +0000 Subject: [PATCH] fusermount(): fix a mount and unmount time mountpoint size memory leak --- libfuse-lite/fusermount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfuse-lite/fusermount.c b/libfuse-lite/fusermount.c index 3b494c12..0a36f1c9 100644 --- a/libfuse-lite/fusermount.c +++ b/libfuse-lite/fusermount.c @@ -729,5 +729,6 @@ int fusermount(int unmount, int quiet, int lazy, const char *opts, res = mount_fuse(mnt, opts); out: umask(old_umask); + free(mnt); return res; }