diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2023-05-15 17:22:27 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-05-16 10:29:34 -0700 |
commit | 098abbd48ec1accf111dde50a2a5392f2a15f59c (patch) | |
tree | 62c478976a5d110c0ece2cb945df20cd2d877dc7 /scripts/gdb/linux/interrupts.py | |
parent | a8938bc881d2a03f9b77f19fae924fe798a01285 (diff) |
mac80211_hwsim: fix memory leak in hwsim_new_radio_nl
When parse_pmsr_capa failed in hwsim_new_radio_nl, the memory resources
applied for by pmsr_capa are not released. Add release processing to the
incorrect path.
Fixes: 92d13386ec55 ("mac80211_hwsim: add PMSR capability support")
Reported-by: syzbot+904ce6fbb38532d9795c@syzkaller.appspotmail.com
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230515092227.2691437-1-shaozhengchao@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions