aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2023-05-15 17:22:27 +0800
committerJohannes Berg <[email protected]>2023-05-16 10:29:34 -0700
commit098abbd48ec1accf111dde50a2a5392f2a15f59c (patch)
tree62c478976a5d110c0ece2cb945df20cd2d877dc7 /tools/perf/scripts/python/flamegraph.py
parenta8938bc881d2a03f9b77f19fae924fe798a01285 (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: [email protected] Signed-off-by: Zhengchao Shao <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions