9
0
Fork 0

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:
Aleksey Kuleshov 2016-08-17 12:04:31 +03:00 committed by Sascha Hauer
parent 5397742078
commit d0b8f4e075
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}