summaryrefslogtreecommitdiff
path: root/fs/ext2/xattr_trusted.c
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-01-06 21:45:21 (GMT)
committerChris Mason <chris.mason@oracle.com>2011-01-16 16:30:19 (GMT)
commit42838bb265b9cff3de9587fcacc398b5112dc2d9 (patch)
tree4c0cfbe4f41004b096917ddf75ed7d74743a4af3 /fs/ext2/xattr_trusted.c
parent6d07bcec969af335d4e35b3921131b7929bd634e (diff)
downloadlinux-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