diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-09-03 18:02:23 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 14:14:08 -0700 |
commit | dce15efebe76088dc381ab91156842ebf7c79aca (patch) | |
tree | 51904296c1d057aac564e3b1e21ad0d37537a11c /drivers/staging/crystalhd | |
parent | c14d01b8a159b9b6a337ccd91de2b89c8f37b3a4 (diff) | |
download | op-kernel-dev-dce15efebe76088dc381ab91156842ebf7c79aca.zip op-kernel-dev-dce15efebe76088dc381ab91156842ebf7c79aca.tar.gz |
staging: bcm: fix possible memory leak in bcm_char_ioctl()
psFwInfo has been allocated in this function and should be
freed before leaving from the error handling cases.
spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/crystalhd')
0 files changed, 0 insertions, 0 deletions