diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-06 21:45:21 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-01-16 11:30:19 -0500 |
commit | 42838bb265b9cff3de9587fcacc398b5112dc2d9 (patch) | |
tree | 4c0cfbe4f41004b096917ddf75ed7d74743a4af3 /fs/btrfs/super.c | |
parent | 6d07bcec969af335d4e35b3921131b7929bd634e (diff) | |
download | op-kernel-dev-42838bb265b9cff3de9587fcacc398b5112dc2d9.zip op-kernel-dev-42838bb265b9cff3de9587fcacc398b5112dc2d9.tar.gz |
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/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions