[V2] ath10k: fix memory leak on caldata on error exit path

Kalle Valo kvalo at qca.qualcomm.com
Tue Sep 13 05:24:40 PDT 2016


Colin Ian King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> caldata is not being free'd on the error exit path, causing
> a memory leak and data definitely should not be freed. Free
> caldata instead of data.
> 
> Thanks to Kalle Valo for spotting that data should not be
> free'd.
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Thanks, 1 patch applied to ath-next branch of ath.git:

5f4761dda2ba ath10k: fix memory leak on caldata on error exit path

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9312163/




More information about the ath10k mailing list