Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 243874c ("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]
- Loading branch information