menu: sanitize menu_add_title
passing a string to menu_add_title() which then gets free by this
function is just plain ugly. Pass it a const char * which gets
duplicated in menu_add_title() when necessary.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9fe05e5 commit c757c676428d70d854c3c7c637b8b7e7a8697043
@Sascha Hauer Sascha Hauer authored on 23 Nov 2016
Showing 4 changed files
View
commands/menu.c
View
common/boot.c
View
common/menu.c
View
include/menu.h