Commit c0d960f0 authored by Al Viro's avatar Al Viro

ocfs2_init_acl(): fix a leak

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 423e0ab0
...@@ -409,6 +409,7 @@ int ocfs2_init_acl(handle_t *handle, ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment