projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f125c5
)
fusermount: Fix memory leaks
author
Rostislav Skudnov
<rostislav@tuxera.com>
Sat, 21 Jul 2018 21:14:06 +0000
(21:14 +0000)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Mon, 23 Jul 2018 10:02:57 +0000
(11:02 +0100)
util/fusermount.c
patch
|
blob
|
history
diff --git
a/util/fusermount.c
b/util/fusermount.c
index c63c50ef616615ace345b0d8e8ec38687bf24a12..b8c164ddd412dd5ec3e3c582429703e3bb6b80d3 100644
(file)
--- 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: