mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 17:36:25 -05:00
libfuse: move DEFER free to always run in fuse_lib_ioctl
This commit is contained in:
parent
f71e27644e
commit
55214a648a
1 changed files with 2 additions and 1 deletions
|
|
@ -3395,9 +3395,10 @@ fuse_lib_ioctl(fuse_req_t *req_,
|
|||
out_buf = (char*)malloc(out_size);
|
||||
if(!out_buf)
|
||||
goto err;
|
||||
DEFER { free(out_buf); };
|
||||
}
|
||||
|
||||
DEFER { free(out_buf); };
|
||||
|
||||
if(in_buf && out_buf)
|
||||
memcpy(out_buf,in_buf,out_size);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue