diff options
author | 2011-01-06 21:45:21 +0000 | |
---|---|---|
committer | 2011-01-16 11:30:19 -0500 | |
commit | 42838bb265b9cff3de9587fcacc398b5112dc2d9 (patch) | |
tree | 4c0cfbe4f41004b096917ddf75ed7d74743a4af3 /net/unix/af_unix.c | |
parent | btrfs: fix wrong free space information of btrfs (diff) | |
download | wireguard-linux-42838bb265b9cff3de9587fcacc398b5112dc2d9.tar.xz wireguard-linux-42838bb265b9cff3de9587fcacc398b5112dc2d9.zip |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions