mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 00:38:55 +00:00
ocfs2_init_acl(): fix a leak
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
423e0ab086
commit
c0d960f038
@ -409,6 +409,7 @@ int ocfs2_init_acl(handle_t *handle,
|
|||||||
if (ret2) {
|
if (ret2) {
|
||||||
mlog_errno(ret2);
|
mlog_errno(ret2);
|
||||||
ret = ret2;
|
ret = ret2;
|
||||||
|
posix_acl_release(clone);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
if (ret > 0) {
|
if (ret > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user