commit | c8be681fad93aac2121efcd1bcff54ffe53403eb | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Mon Sep 03 18:15:26 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 04 14:14:07 2012 -0700 |
tree | c6f79598674d46d6c8b345979ad93f267cd59e28 | |
parent | 37905ae131a728d90515bb9258f195edb6c5d5a2 [diff] |
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>