commit | f858153c367a397235d3e81136741e40e44faf1d | [log] [tgz] |
---|---|---|
author | Yang Hongyang <yanghy@cn.fujitsu.com> | Tue Jan 26 00:48:23 2010 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Jan 28 16:20:39 2010 -0500 |
tree | bb346105a3e4c9d1cfc4211fe7c3c578e6668d94 | |
parent | d1ea6a61454e7d7ff0873d0ad1ae27d5807da0d3 [diff] |
Btrfs: fix a memory leak in btrfs_init_acl In btrfs_init_acl() cloned acl is not released Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c index fa44e92..da3133c 100644 --- a/fs/btrfs/acl.c +++ b/fs/btrfs/acl.c
@@ -269,6 +269,7 @@ ACL_TYPE_ACCESS); } } + posix_acl_release(clone); } failed: posix_acl_release(acl);