diff options
author | Bill Zissimopoulos <billziss@navimatics.com> | 2020-01-02 03:08:03 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2020-01-02 11:08:03 +0000 |
commit | 50fe9f7c818628dc5dd69218c851a48fa1f07987 (patch) | |
tree | f760e44f6e28cdebf4141c7e0504f4583c6b3ef7 /lib | |
parent | e3dcc2d550afebf9b4386f71294ab01fc1d6299d (diff) | |
download | libfuse-50fe9f7c818628dc5dd69218c851a48fa1f07987.tar.gz |
Fixed memory leak in fuse_session_new()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_lowlevel.c | 3 |
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: |