Signed-off-by: Denis Orlov <[email protected]> --- arch/mips/lib/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index 95e9dc0d7d..69ce9b3904 100644
--- a/arch/mips/lib/bootm.c
+++ b/arch/mips/lib/bootm.c
@@ -69,7 +69,7 @@ static int do_bootm_elf(struct image_data *data)
ret = of_overlay_load_firmware();
if (ret)
- return ret;
+ goto bootm_free_fdt;
shutdown_barebox();
--
2.30.2
