Bootm: remove uimage_close done later in bootm_boot
From 24e24f9 Mon Sep 17 00:00:00 2001
From: Clement Leger <clement.leger@kalray.eu>
Date: Thu, 14 Dec 2017 13:29:50 +0100
Subject: [PATCH] Bootm: fix double uimage_close

When uimage crc fails, the error handling path call uimage_close in
bootm_open_os_uimage and also in bootm_boot. This leads to crash/exception.
Keep the main error handling path in bootm_boot and remove uimage_close from
bootm_open_os_uimage to avoid double uimage_close.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d67aed6 commit 21bbc2f97e2953dc633175f3ca045972ea2c7e61
@Clément Leger Clément Leger authored on 14 Dec 2017
Sascha Hauer committed on 15 Dec 2017
Showing 1 changed file
View
common/bootm.c