[PATCH] bootm: Free allocated fdt buffer in error path
Sascha Hauer
s.hauer at pengutronix.de
Thu Feb 18 03:59:40 PST 2016
On Wed, Feb 17, 2016 at 07:45:24PM +0100, Harald Welte wrote:
> It seems like there is a memory leak in an error path of
> bootm_open_oftree_uimage() where the memory allocated for the fdt is not
> released again.
>
> Signed-off-by: Harald Welte <laforge at gnumonks.org>
> ---
> common/bootm.c | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list