[PATCH] dm: fix memory leak

Sascha Hauer s.hauer at pengutronix.de
Wed Nov 26 23:56:15 PST 2025


On Mon, 10 Nov 2025 09:17:49 +0100, Sascha Hauer wrote:
> a dm_target is allocated in dm_parse_table(), thus must be freed in
> dm_destroy(). The destroy op only frees everything related to the
> dm_target, but not the dm_target itself.
> 
> 

Applied, thanks!

[1/1] dm: fix memory leak
      https://git.pengutronix.de/cgit/barebox/commit/?id=38010b583b28 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list