[PATCH 1/2] ath11k: Fix memory leak on error path
Kalle Valo
kvalo at codeaurora.org
Thu Oct 8 06:46:14 EDT 2020
Alex Dewar <alex.dewar90 at gmail.com> wrote:
> In ath11k_mac_setup_iface_combinations(), if memory cannot be assigned
> for the variable limits, then the memory assigned to combinations will
> be leaked. Fix this.
>
> Addresses-Coverity-ID: 1497534 ("Resource leaks")
> Fixes: 2626c269702e ("ath11k: add interface_modes to hw_params")
> Signed-off-by: Alex Dewar <alex.dewar90 at gmail.com>
Patch applied to wireless-drivers-next.git, thanks.
8431350eee2e ath11k: Fix memory leak on error path
--
https://patchwork.kernel.org/patch/11815579/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list