diff options
-rw-r--r-- | ChangeLog.rst | 2 | ||||
-rw-r--r-- | lib/fuse_lowlevel.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst index 284015d..a56f854 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -5,8 +5,10 @@ libfuse 3.10.0 (2019-12-14) Define FUSE_USE_VERSION < 35 to get old ioctl prototype with int commands; define FUSE_USE_VERSION >= 35 to get new ioctl prototype with unsigned int commands. +* Fixed memory leak in fuse_session_new(). * Fixed an issue with the linker version script. + libfuse 3.9.0 (2019-12-14) ========================== 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: |