aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBill Zissimopoulos <billziss@navimatics.com>2020-01-02 03:08:03 -0800
committerNikolaus Rath <Nikolaus@rath.org>2020-01-02 11:08:03 +0000
commit50fe9f7c818628dc5dd69218c851a48fa1f07987 (patch)
treef760e44f6e28cdebf4141c7e0504f4583c6b3ef7 /lib
parente3dcc2d550afebf9b4386f71294ab01fc1d6299d (diff)
downloadlibfuse-50fe9f7c818628dc5dd69218c851a48fa1f07987.tar.gz
Fixed memory leak in fuse_session_new()
Diffstat (limited to 'lib')
-rw-r--r--lib/fuse_lowlevel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 3671385..d8112f5 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -2975,7 +2975,8 @@ out5:
out4:
fuse_opt_free_args(args);
out3:
- free(mo);
+ if (mo != NULL)
+ destroy_mount_opts(mo);
out2:
free(se);
out1: