diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-09-03 10:15:26 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 21:14:07 (GMT) |
commit | c8be681fad93aac2121efcd1bcff54ffe53403eb (patch) | |
tree | c6f79598674d46d6c8b345979ad93f267cd59e28 /drivers/scsi/aacraid | |
parent | 37905ae131a728d90515bb9258f195edb6c5d5a2 (diff) | |
download | linux-fsl-qoriq-c8be681fad93aac2121efcd1bcff54ffe53403eb.tar.xz |
staging: csr: fix possible memory leak in do_patch_convert_download()
pfw has been allocated in function xbv_to_patch() 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/scsi/aacraid')
0 files changed, 0 insertions, 0 deletions