summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRajat Soni <quic_rajson@quicinc.com>2023-03-15 12:06:32 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2023-03-22 13:05:18 +0300
commit960412bee0ea75f6b3c2dca4a3535795ee84c47a (patch)
tree59bd20dcb69738d5ca5d633c146badde03796368 /tools/perf/scripts/python/export-to-sqlite.py
parent68e93ac5a31d4975b25f819b2dfe914c72abc3bb (diff)
downloadlinux-960412bee0ea75f6b3c2dca4a3535795ee84c47a.tar.xz
wifi: ath12k: fix memory leak in ath12k_qmi_driver_event_work()
Currently the buffer pointed by event is not freed in case ATH12K_FLAG_UNREGISTERING bit is set, this causes memory leak. Add a goto skip instead of return, to ensure event and all the list entries are freed properly. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 Signed-off-by: Rajat Soni <quic_rajson@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20230315090632.15065-1-quic_rajson@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions