diff options
| author | YueHaibing <[email protected]> | 2018-04-24 03:08:35 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2018-05-07 13:01:29 +0000 |
| commit | e8f90c74e6ab64824f3a21521640de7b21050b9d (patch) | |
| tree | febf9b5c7bc46a69f334b49de82c55e78e8b744e /net/rfkill/rfkill-gpio.c | |
| parent | nl80211: Free connkeys on external authentication failure (diff) | |
| download | kernel-e8f90c74e6ab64824f3a21521640de7b21050b9d.tar.gz kernel-e8f90c74e6ab64824f3a21521640de7b21050b9d.zip | |
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 'net/rfkill/rfkill-gpio.c')
0 files changed, 0 insertions, 0 deletions
