diff options
| author | YueHaibing <[email protected]> | 2018-04-24 11:08:35 +0800 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2018-05-07 15:01:29 +0200 |
| commit | e8f90c74e6ab64824f3a21521640de7b21050b9d (patch) | |
| tree | febf9b5c7bc46a69f334b49de82c55e78e8b744e /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | 2f0605a697f4b9f5b1c1571c7ec6a16df4dc2616 (diff) | |
mac80211_hwsim: fix a possible memory leak in hwsim_new_radio_nl()
'hwname' should be freed before leaving from the error handling cases,
otherwise it will cause mem leak
Fixes: cb1a5bae5684 ("mac80211_hwsim: add permanent mac address option for new radios")
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions