mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] nvdimm/btt: fix a few memory leaks
@ 2026-05-19  5:50 Abdun Nihaal
  2026-05-19  5:50 ` [PATCH 1/2] nvdimm/btt: fix potential memory leak in discover_arenas() Abdun Nihaal
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Abdun Nihaal @ 2026-05-19  5:50 UTC (permalink / raw)
  To: Vishal Verma, Dan Williams, Dave Jiang, Ira Weiny
  Cc: nvdimm, linux-kernel, stable, Abdun Nihaal

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@cse.iitm.ac.in>
---
Abdun Nihaal (2):
      nvdimm/btt: fix potential memory leak in discover_arenas()
      nvdimm/btt: fix potential memory leak in btt_init()

 drivers/nvdimm/btt.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
---
base-commit: e98d21c170b01ddef366f023bbfcf6b31509fa83
change-id: 20260519-nvdimmleaks-11f40a4af32a

Best regards,
-- 
Abdun Nihaal <nihaal@cse.iitm.ac.in>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-02  0:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-19  5:50 [PATCH 0/2] nvdimm/btt: fix a few memory leaks Abdun Nihaal
2026-05-19  5:50 ` [PATCH 1/2] nvdimm/btt: fix potential memory leak in discover_arenas() Abdun Nihaal
2026-05-19  5:50 ` [PATCH 2/2] nvdimm/btt: fix potential memory leak in btt_init() Abdun Nihaal
2026-06-01 23:03 ` [PATCH 0/2] nvdimm/btt: fix a few memory leaks Alison Schofield
2026-06-02  0:33 ` Alison Schofield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®