[PATCH v2] wifi: ath11k: fix memory leak in ath11k_xxx_remove()

Jeff Johnson jeff.johnson at oss.qualcomm.com
Sun Jan 26 10:45:00 PST 2025


On Thu, 23 Jan 2025 16:49:48 +0800, Miaoqing Pan wrote:
> The firmware memory was allocated in ath11k_pci_probe() or
> ath11k_ahb_probe(), but not freed in ath11k_xxx_remove() in case
> ATH11K_FLAG_QMI_FAIL bit is set. So call ath11k_fw_destroy() to
> free the memory.
> 
> Found while fixing the same problem in ath12k:
> https://lore.kernel.org/linux-wireless/20240314012746.2729101-1-quic_miaoqing@quicinc.com
> 
> [...]

Applied, thanks!

[1/1] wifi: ath11k: fix memory leak in ath11k_xxx_remove()
      commit: efb24b1f0d29537714dd3cc46fb335ac27855251

Best regards,
-- 
Jeff Johnson <jeff.johnson at oss.qualcomm.com>




More information about the ath11k mailing list