From: Santosh Nayak Date: Fri, 2 Mar 2012 06:17:26 +0000 (+0530) Subject: cifs: possible memory leak in xattr. X-Git-Tag: v3.3~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0f8ef202ec7f07ba9bd93150d54ef4327851422;p=pandora-kernel.git cifs: possible memory leak in xattr. Memory is allocated irrespective of whether CIFS_ACL is configured or not. But free is happenning only if CIFS_ACL is set. This is a possible memory leak scenario. Fix is: Allocate and free memory only if CIFS_ACL is configured. Signed-off-by: Santosh Nayak Reviewed-by: Shirish Pargaonkar Signed-off-by: Steve French --- Reading git-diff-tree failed