diff options
author | Baochen Qiang <[email protected]> | 2024-05-26 20:42:26 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2024-05-30 18:49:22 +0300 |
commit | 3d60041543189438cd1b03a1fa40ff6681c77970 (patch) | |
tree | 82e3dab4c99d1ddc1a02d0e2a2ea1c3b0d69a14c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 0ae570703754858a77cc42b3c9fff42e9f084608 (diff) |
wifi: ath12k: fix memory leak in ath12k_dp_rx_peer_frag_setup()
Currently the resource allocated by crypto_alloc_shash() is not
freed in case ath12k_peer_find() fails, resulting in memory leak.
Add crypto_free_shash() to fix it.
This is found during code review, compile tested only.
Signed-off-by: Baochen Qiang <[email protected]>
Acked-by: Jeff Johnson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions