[PATCH -next] ath10k: fix possible memory leak in ath10k_pci_probe()

Kalle Valo kvalo at qca.qualcomm.com
Wed Nov 6 03:50:19 EST 2013


Wei Yongjun <weiyj.lk at gmail.com> writes:

> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> memory is malloced in ath10k_pci_probe() and should be freed before
> leaving from the error handling cases, otherwise it will cause
> memory leak.
>
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>

Thanks, applied.

-- 
Kalle Valo



More information about the ath10k mailing list