staging: sep: fix possible memory leak in sep_prepare_input_dma_table()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 15 Mar 2013 09:20:08 +0000 (17:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 16:05:36 +0000 (09:05 -0700)
'lli_array_ptr' etc. are malloced in sep_prepare_input_dma_table() and should
be freed before leaving from the error handling case, otherwise it will cause
memory leak.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found