diff options
author | Navid Emamdoost <[email protected]> | 2019-11-22 13:19:48 -0600 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2019-12-18 20:20:49 +0200 |
commit | 5cc509aa83c6acd2c5cd94f99065c39d2bd0a490 (patch) | |
tree | 845f25aa836d50a90cf8e74a92112fd9cf857fa1 /tools/perf/scripts/python/syscall-counts.py | |
parent | 57725b5bc5890b62a0f1d93c9767874c15b24e33 (diff) |
brcmfmac: Fix memory leak in brcmf_p2p_create_p2pdev()
In the implementation of brcmf_p2p_create_p2pdev() the allocated memory
for p2p_vif is leaked when the mac address is the same as primary
interface. To fix this, go to error path to release p2p_vif via
brcmf_free_vif().
Fixes: cb746e47837a ("brcmfmac: check p2pdev mac address uniqueness")
Signed-off-by: Navid Emamdoost <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions