diff options
author | Aleksey Kuleshov <rndfax@yandex.ru> | 2016-08-17 12:04:31 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-08-18 09:13:27 +0200 |
commit | d0b8f4e0752fbe5e44fd9b2e6143ce80c0f5d4eb (patch) | |
tree | cae5e4fc2ff351d9d3e2c222edf7b523b18d5adf /common/boot.c | |
parent | 539774207847fdff4e9202262b34642cfbcda7ba (diff) | |
download | barebox-d0b8f4e0752fbe5e44fd9b2e6143ce80c0f5d4eb.tar.gz barebox-d0b8f4e0752fbe5e44fd9b2e6143ce80c0f5d4eb.tar.xz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/boot.c b/common/boot.c index 8502464aa2..0e9f27f9bc 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); } |