Re: [PATCH] qtnfmac: fix resource leaks on unsupported iftype error return path

From: Kalle Valo
Date: Tue Sep 29 2020 - 04:24:08 EST


Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Currently if an unsupported iftype is detected the error return path
> does not free the cmd_skb leading to a resource leak. Fix this by
> free'ing cmd_skb.
>
> Addresses-Coverity: ("Resource leak")
> Fixes: 805b28c05c8e ("qtnfmac: prepare for AP_VLAN interface type support")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

63f6982075d8 qtnfmac: fix resource leaks on unsupported iftype error return path

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

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