Re: [PATCH 0/2] nvdimm/btt: fix a few memory leaks
From: Alison Schofield
Date: Mon Jun 01 2026 - 20:36:51 EST
On Tue, May 19, 2026 at 11:20:11AM +0530, Abdun Nihaal wrote:
> The following two patches fix memory leak issues in error paths in the
> btt_init() and discover_arenas() functions.
>
> - nvdimm/btt: fix potential memory leak in btt_init()
> - nvdimm/btt: fix potential memory leak in discover_arenas()
>
> Compile tested only. Issue found using static analysis.
>
> Signed-off-by: Abdun Nihaal <nihaal@xxxxxxxxxxxxxx>
> ---
> Abdun Nihaal (2):
> nvdimm/btt: fix potential memory leak in discover_arenas()
> nvdimm/btt: fix potential memory leak in btt_init()
Applied to nvdimm/nvdimm.git (libnvdimm-for-next)
https://git.kernel.org/nvdimm/nvdimm/c/13fe4cd9ddd0
https://git.kernel.org/nvdimm/nvdimm/c/1a6b6442a982