From d0b8f4e0752fbe5e44fd9b2e6143ce80c0f5d4eb Mon Sep 17 00:00:00 2001 From: Aleksey Kuleshov Date: Wed, 17 Aug 2016 12:04:31 +0300 Subject: properly remove menu entry Signed-off-by: Aleksey Kuleshov Signed-off-by: Sascha Hauer --- common/boot.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common') 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); } -- cgit v1.2.3