diff options
author | Rostislav Skudnov <rostislav@tuxera.com> | 2018-07-21 21:14:06 +0000 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2018-07-23 11:02:57 +0100 |
commit | efa3032bc9a6d9028084a8c33c9b31946b16aea1 (patch) | |
tree | 54c25181920e9bb26d87f05f16211abf43dfbae6 /util | |
parent | 5f125c5e6be24c8d216a4d3c623dc73d742c8c86 (diff) | |
download | fuse-efa3032bc9a6d9028084a8c33c9b31946b16aea1.tar.gz |
fusermount: Fix memory leaks
Diffstat (limited to 'util')
-rw-r--r-- | util/fusermount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/fusermount.c b/util/fusermount.c index c63c50e..b8c164d 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -446,6 +446,7 @@ static int unmount_fuse_locked(const char *mnt, int quiet, int lazy) } out: + free(copy); if (res == -1) return -1; @@ -1365,6 +1366,7 @@ do_unmount: } if (res == -1) goto err_out; + free(mnt); return 0; err_out: |