From: Jesper Juhl Date: Thu, 6 Jan 2011 21:45:21 +0000 (+0000) Subject: btrfs: Mem leak in btrfs_get_acl() X-Git-Tag: v2.6.38-rc1~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42838bb265b9cff3de9587fcacc398b5112dc2d9;p=pandora-kernel.git 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 Signed-off-by: Chris Mason --- Reading git-diff-tree failed