aboutsummaryrefslogtreecommitdiffstats
path: root/util/fusermount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/fusermount.c')
-rw-r--r--util/fusermount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 034383e..06f2461 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -1468,6 +1468,7 @@ int main(int argc, char *argv[])
if (!auto_unmount) {
free(mnt);
+ free((void*) type);
return 0;
}
@@ -1520,10 +1521,12 @@ do_unmount:
goto err_out;
success_out:
+ free((void*) type);
free(mnt);
return 0;
err_out:
+ free((void*) type);
free(mnt);
exit(1);
}