Thread (2 messages) 2 messages, 2 authors, 2016-08-18
STALE3571d

[PATCH] properly remove menu entry

From: Aleksey Kuleshov <hidden>
Date: 2016-08-17 09:05:04
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Aleksey Kuleshov <redacted>
---
 common/boot.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/common/boot.c b/common/boot.c
index 52e181d..5f2e5cf 100644
--- a/common/boot.c
+++ b/common/boot.c
@@ -322,6 +322,7 @@ void bootsources_menu(struct bootentries *bootentries, int timeout)
 
 	menu_show(bootentries->menu);
 
+	menu_remove_entry(bootentries->menu, back_entry);
 	free(back_entry);
 }
 
-- 
2.8.0.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help