diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-06 21:45:21 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-01-16 16:30:19 (GMT) |
commit | 42838bb265b9cff3de9587fcacc398b5112dc2d9 (patch) | |
tree | 4c0cfbe4f41004b096917ddf75ed7d74743a4af3 /fs/ext2/xattr_trusted.c | |
parent | 6d07bcec969af335d4e35b3921131b7929bd634e (diff) | |
download | linux-42838bb265b9cff3de9587fcacc398b5112dc2d9.tar.xz |
btrfs: Mem leak in btrfs_get_acl()
It seems to me that we leak the memory allocated to 'value' in
btrfs_get_acl() if the call to posix_acl_from_xattr() fails.
Here's a patch that attempts to correct that problem.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/ext2/xattr_trusted.c')
0 files changed, 0 insertions, 0 deletions