Re: [PATCH v3] wifi: ath11k: fix memory leaks in beacon template setup
Jeff Johnson <[email protected]>
| Newsgroups | org.infradead.lists.ath11k,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 30 Jan 2026 08:44:51 +0000, Zilin Guan wrote:
> The functions ath11k_mac_setup_bcn_tmpl_ema() and
> ath11k_mac_setup_bcn_tmpl_mbssid() allocate memory for beacon templates
> but fail to free it when parameter setup returns an error.
>
> Since beacon templates must be released during normal execution, they
> must also be released in the error handling paths to prevent memory
> leaks.
>
> [...]
Applied, thanks!
[1/1] wifi: ath11k: fix memory leaks in beacon template setup
commit: ff49eba595df500e4ddccc593088c8a4ab5f2c27
Best regards,
--
Jeff Johnson <[email protected]>