From 00f17c3ffcabe14b742222c4b5512d49d716570e Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Mon, 6 Jan 2020 13:38:02 +0500 Subject: [PATCH] sesman/chansrv/chansrv_fuse.c: resolve double free found by cppcheck sesman/chansrv/chansrv_fuse.c:1719:9: error: Memory pointed to by 'full_path' is freed twice. [doubleFree] --- sesman/chansrv/chansrv_fuse.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sesman/chansrv/chansrv_fuse.c b/sesman/chansrv/chansrv_fuse.c index 842bca00..b797e749 100644 --- a/sesman/chansrv/chansrv_fuse.c +++ b/sesman/chansrv/chansrv_fuse.c @@ -1691,7 +1691,6 @@ static void xfuse_cb_unlink(fuse_req_t req, fuse_ino_t parent, log_error("system out of memory"); fuse_reply_err(req, ENOMEM); free(fip); - free(full_path); } else {