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]
This commit is contained in:
Ilya Shipitsin 2020-01-06 13:38:02 +05:00
parent 677056e3c2
commit 00f17c3ffc

View File

@ -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
{