mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-15 02:12:13 -04:00
main: fix memory leak
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
22246f29f3
commit
1a3ae79283
2
main.c
2
main.c
@ -4142,7 +4142,7 @@ ovl_mkdir (fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode)
|
|||||||
struct stat st;
|
struct stat st;
|
||||||
ino_t ino = 0;
|
ino_t ino = 0;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
char *path;
|
cleanup_free char *path = NULL;
|
||||||
bool need_delete_whiteout = true;
|
bool need_delete_whiteout = true;
|
||||||
cleanup_lock int l = enter_big_lock ();
|
cleanup_lock int l = enter_big_lock ();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user