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

From: Kalle Valo
Date: Tue Sep 13 2016 - 08:24:53 EST


Colin Ian King <colin.king@xxxxxxxxxxxxx> wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

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/