diff options
| author | Santosh Nayak <[email protected]> | 2012-03-02 06:17:26 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2012-03-07 03:46:53 +0000 |
| commit | b0f8ef202ec7f07ba9bd93150d54ef4327851422 (patch) | |
| tree | c5d7c9cfd330f2c950680b0c2febdf2c19431933 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | x86: fix typo in recent find_vma_prev purge (diff) | |
| download | kernel-b0f8ef202ec7f07ba9bd93150d54ef4327851422.tar.gz kernel-b0f8ef202ec7f07ba9bd93150d54ef4327851422.zip | |
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 <[email protected]>
Reviewed-by: Shirish Pargaonkar <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
