mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] properly remove menu entry
@ 2016-08-17  9:04 Aleksey Kuleshov
  2016-08-18  7:13 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksey Kuleshov @ 2016-08-17  9:04 UTC (permalink / raw)
  To: barebox; +Cc: Aleksey Kuleshov

Signed-off-by: Aleksey Kuleshov <rndfax@yandex.ru>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] properly remove menu entry
  2016-08-17  9:04 [PATCH] properly remove menu entry Aleksey Kuleshov
@ 2016-08-18  7:13 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2016-08-18  7:13 UTC (permalink / raw)
  To: Aleksey Kuleshov; +Cc: barebox

On Wed, Aug 17, 2016 at 12:04:31PM +0300, Aleksey Kuleshov wrote:
> Signed-off-by: Aleksey Kuleshov <rndfax@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@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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-18  7:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-17  9:04 [PATCH] properly remove menu entry Aleksey Kuleshov
2016-08-18  7:13 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox