properly remove menu entry
Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5397742078
commit
d0b8f4e075
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue