Skip to content
Commit d10dcb61 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Kalle Valo
Browse files

mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring



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: 0732484b ("mwifiex: separate ring initialization and ring creation routines")
Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Acked-by: default avatarGanapathi Bhat <gbhat@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent db8fd2cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment