diff options
author | Navid Emamdoost <[email protected]> | 2019-10-04 15:08:52 -0500 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2019-10-09 11:24:52 +0300 |
commit | db8fd2cde93227e566a412cf53173ffa227998bc (patch) | |
tree | 5ca5ecc7bfd2693bf9944992367c2358591e9c76 /tools/perf/scripts/python/stat-cpi.py | |
parent | 39e50f5ce26c0aa413cf2a680a401a35ec6508bf (diff) |
mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf
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 <[email protected]>
Acked-by: Ganapathi Bhat <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions