Re: [PATCH] mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring

From: Kalle Valo
Date: Wed Oct 09 2019 - 04:25:45 EST


Navid Emamdoost <navid.emamdoost@xxxxxxxxx> wrote:

> In mwifiex_pcie_init_evt_ring, a new skb is allocated which should be
> released if mwifiex_map_pci_memory() fails. The release for skb and
> card->evtbd_ring_vbase is added.
>
> Fixes: 0732484b47b5 ("mwifiex: separate ring initialization and ring creation routines")
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
> Acked-by: Ganapathi Bhat <gbhat@xxxxxxxxxxx>

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

d10dcb615c8e mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring

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

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