summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/acl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/acl.c b/fs/ocfs2/acl.c
index 1cee970eb55a..f4cf451ce6e8 100644
--- a/fs/ocfs2/acl.c
+++ b/fs/ocfs2/acl.c
@@ -409,6 +409,7 @@ int ocfs2_init_acl(handle_t *handle,
if (ret2) {
mlog_errno(ret2);
ret = ret2;
+ posix_acl_release(clone);
goto cleanup;
}
if (ret > 0) {