[PATCH] xload: fix use after free

Sascha Hauer s.hauer at pengutronix.de
Sun Jul 26 22:38:40 PDT 2015


On Fri, Jul 24, 2015 at 03:20:24PM +0200, Michael Grzeschik wrote:
> The variable partname is used in the error path for debugging.
> We have to free it after this use.
> 
> Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
> ---
>  arch/arm/mach-omap/xload.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

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