summaryrefslogtreecommitdiff
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
authorSantosh Nayak <santoshprasadnayak@gmail.com>2012-03-02 10:17:26 +0400
committerSteve French <sfrench@us.ibm.com>2012-03-07 07:46:53 +0400
commitb0f8ef202ec7f07ba9bd93150d54ef4327851422 (patch)
treec5d7c9cfd330f2c950680b0c2febdf2c19431933 /fs/cifs/file.c
parent55062d061790b43aee01ab3f9ac57b8596254f19 (diff)
downloadlinux-b0f8ef202ec7f07ba9bd93150d54ef4327851422.tar.xz
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 <santoshprasadnayak@gmail.com> Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/file.c')
0 files changed, 0 insertions, 0 deletions