[PATCH] properly remove menu entry

Sascha Hauer s.hauer at pengutronix.de
Thu Aug 18 00:13:40 PDT 2016


On Wed, Aug 17, 2016 at 12:04:31PM +0300, Aleksey Kuleshov wrote:
> Signed-off-by: Aleksey Kuleshov <rndfax at yandex.ru>
> ---
>  common/boot.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list