diff options
author | Miaoqian Lin <[email protected]> | 2023-01-02 12:11:42 +0400 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-01-18 08:35:09 +0200 |
commit | ed3f83b3459a67a3ab9d806490ac304b567b1c2d (patch) | |
tree | d7a6a4b07be606f1ec01fdaa475347db045e2dfb /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 53a998c4d7284debd77734d01e1466e59a1d03b2 (diff) |
wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
crypto_alloc_shash() allocates resources, which should be released by
crypto_free_shash(). When ath11k_peer_find() fails, there has memory
leak. Add missing crypto_free_shash() to fix this.
Fixes: 243874c64c81 ("ath11k: handle RX fragments")
Signed-off-by: Miaoqian Lin <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions