summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorWenwen Wang <wenwen@cs.uga.edu>2019-08-16 00:04:31 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-09-17 17:11:12 +0300
commit334f5b61a6f29834e881923b98d1e27e5ce9620d (patch)
tree4d3289065c34d0a0034dd60333a2532a16cdedbd /tools/perf/scripts/python/check-perf-trace.py
parentc41305993ff5a399775da54232b30ff2d6c9576e (diff)
downloadlinux-334f5b61a6f29834e881923b98d1e27e5ce9620d.tar.xz
ath10k: add cleanup in ath10k_sta_state()
If 'sta->tdls' is false, no cleanup is executed, leading to memory/resource leaks, e.g., 'arsta->tx_stats'. To fix this issue, perform cleanup before go to the 'exit' label. Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions