Re: [PATCH] ath9k_htc: release allocated buffer if timed out

From: Kalle Valo
Date: Tue Sep 10 2019 - 09:29:07 EST


Navid Emamdoost <navid.emamdoost@xxxxxxxxx> wrote:

> In htc_config_pipe_credits, htc_setup_complete, and htc_connect_service
> if time out happens, the allocated buffer needs to be released.
> Otherwise there will be memory leak.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

853acf7caf10 ath9k_htc: release allocated buffer if timed out

--
https://patchwork.kernel.org/patch/11135781/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches