diff options
author | Tomasz Kulasek <34129113+tkulasek@users.noreply.github.com> | 2019-11-20 12:43:52 +0100 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2019-11-20 11:43:52 +0000 |
commit | 4520a97286e53977d15825111365d46b99d5a836 (patch) | |
tree | 10debca0e38dc7455c78d013821aa2a4a72c3878 /lib | |
parent | bb52fccb59bb6599af0a3bcfcbb4659b3dc0450e (diff) | |
download | libfuse-4520a97286e53977d15825111365d46b99d5a836.tar.gz |
fix memleak in cuse_lowlevel_setup (#472)
Local variable args is not freed on cuse_lowlevel_setup success.
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cuse_lowlevel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cuse_lowlevel.c b/lib/cuse_lowlevel.c index 9917b64..b70947e 100644 --- a/lib/cuse_lowlevel.c +++ b/lib/cuse_lowlevel.c @@ -319,6 +319,7 @@ struct fuse_session *cuse_lowlevel_setup(int argc, char *argv[], if (res == -1) goto err_sig; + fuse_opt_free_args(&args); return se; err_sig: |