summaryrefslogtreecommitdiffstats
path: root/common/boot.c
diff options
context:
space:
mode:
authorAleksey Kuleshov <rndfax@yandex.ru>2016-08-17 12:04:31 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2016-08-18 09:13:27 +0200
commitd0b8f4e0752fbe5e44fd9b2e6143ce80c0f5d4eb (patch)
treecae5e4fc2ff351d9d3e2c222edf7b523b18d5adf /common/boot.c
parent539774207847fdff4e9202262b34642cfbcda7ba (diff)
downloadbarebox-d0b8f4e0752fbe5e44fd9b2e6143ce80c0f5d4eb.tar.gz
properly remove menu entry
Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/boot.c')
-rw-r--r--common/boot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/boot.c b/common/boot.c
index 8502464..0e9f27f 100644
--- a/common/boot.c
+++ b/common/boot.c
@@ -318,6 +318,7 @@ void bootsources_menu(struct bootentries *bootentries, int timeout)
menu_show(bootentries->menu);
+ menu_remove_entry(bootentries->menu, back_entry);
free(back_entry);
}