summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/qe_lib/gpio.c
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-10-04 15:08:52 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-14 20:03:06 +0100
commitc858dc3c047e2962994d28acaccd52272558c9ff (patch)
treed63c381509bda665e3b7db657f35d493b7d1fec6 /arch/powerpc/sysdev/qe_lib/gpio.c
parentd1bd8bd7e5ebda57580372d2b8b69182f9d8d113 (diff)
mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf
commit db8fd2cde93227e566a412cf53173ffa227998bc upstream. In mwifiex_pcie_alloc_cmdrsp_buf, a new skb is allocated which should be released if mwifiex_map_pci_memory() fails. The release is added. Fixes: fc3314609047 ("mwifiex: use pci_alloc/free_consistent APIs for PCIe") Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Acked-by: Ganapathi Bhat <gbhat@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Cc: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/sysdev/qe_lib/gpio.c')
0 files changed, 0 insertions, 0 deletions