]> Git Repo - linux.git/commitdiff
ocfs2_init_acl(): fix a leak
authorAl Viro <[email protected]>
Sat, 23 Jul 2011 04:22:31 +0000 (00:22 -0400)
committerAl Viro <[email protected]>
Sun, 24 Jul 2011 14:10:09 +0000 (10:10 -0400)
Signed-off-by: Al Viro <[email protected]>
fs/ocfs2/acl.c

index 1cee970eb55a520e258434125c21466cc6160acb..f4cf451ce6e87bbae2759564c799c2539462851b 100644 (file)
@@ -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) {
This page took 0.058732 seconds and 4 git commands to generate.