diff options
Diffstat (limited to 'discover/boot.c')
-rw-r--r-- | discover/boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/boot.c b/discover/boot.c index 8ad83be..e7a72d4 100644 --- a/discover/boot.c +++ b/discover/boot.c @@ -371,8 +371,6 @@ no_load: if (clean_dtb) unlink(boot_task->local_dtb); - talloc_free(boot_task); - if (!result) { update_status(status_fn, status_arg, BOOT_STATUS_INFO, "performing kexec reboot"); @@ -385,5 +383,7 @@ no_load: } } + talloc_free(boot_task); + return result; } |