aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-12-12 19:42:51 +0000
committerKalle Valo <[email protected]>2019-12-18 19:53:46 +0200
commit4358bcb54bb9ede559e60685b9e544e723197ca1 (patch)
tree9b1a5fd07e400d329a4aa257119c79531fed5cf4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent08cc0f44f5ed5b5a91370f99929730dc3fe94b68 (diff)
ath11k: fix missing free of skb on error return path
The error handling when the call to ath11k_hal_srng_get_entrysize fails leaks skb, fix this by returning via the err_free return path that will ensure the skb is free'd. Addresses-Coverity: ("Resource leak") Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions