diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-23 00:22:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 10:10:09 -0400 |
commit | c0d960f038bdfe0fa73c9f698ba836ed20b672c9 (patch) | |
tree | d3be44f58e977935718d5b8c9cc0b7e4cd8f022e /fs/ocfs2/acl.c | |
parent | 423e0ab086ad8b33626e45fa94ac7613146b7ffa (diff) |
ocfs2_init_acl(): fix a leak
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ocfs2/acl.c')
-rw-r--r-- | fs/ocfs2/acl.c | 1 |
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, | |||
409 | if (ret2) { | 409 | if (ret2) { |
410 | mlog_errno(ret2); | 410 | mlog_errno(ret2); |
411 | ret = ret2; | 411 | ret = ret2; |
412 | posix_acl_release(clone); | ||
412 | goto cleanup; | 413 | goto cleanup; |
413 | } | 414 | } |
414 | if (ret > 0) { | 415 | if (ret > 0) { |