[PATCH] properly remove menu entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Aleksey Kuleshov <rndfax@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux