On Fri, 17 May 2024 09:48:18 +0200, Ahmad Fatoum wrote: > of_unflatten_dtb allocates an unflattened tree and of_overlay_apply_tree > copies it into another tree. The unflattened tree is then usually > leaked. Add a function that takes care of these two steps and then frees > the tree. > > Applied, thanks! [1/7] of: free unflattened overlays after application https://git.pengutronix.de/cgit/barebox/commit/?id=21598db0d106 (link may not be stable) [2/7] of: overlay: do not leak fixed up path https://git.pengutronix.de/cgit/barebox/commit/?id=92b4598183fb (link may not be stable) [3/7] test: self: digest: don't leak digest buffers https://git.pengutronix.de/cgit/barebox/commit/?id=920740d28004 (link may not be stable) [4/7] test: self: ramfs: fix memory leak https://git.pengutronix.de/cgit/barebox/commit/?id=3451af15b4cb (link may not be stable) [5/7] regulator: of_regulator: remove unused allocation https://git.pengutronix.de/cgit/barebox/commit/?id=ae990b192979 (link may not be stable) [6/7] globalvar: fix memory leak https://git.pengutronix.de/cgit/barebox/commit/?id=4dcae371c292 (link may not be stable) [7/7] power: reset: reboot-mode: fix memory leak https://git.pengutronix.de/cgit/barebox/commit/?id=22f770fb9041 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>