diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/nconf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index d55666d2dd85..d6345df1ce12 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
| @@ -1220,7 +1220,12 @@ static void conf_message_callback(const char *fmt, va_list ap) | |||
| 1220 | 1220 | ||
| 1221 | static void show_help(struct menu *menu) | 1221 | static void show_help(struct menu *menu) |
| 1222 | { | 1222 | { |
| 1223 | struct gstr help = str_new(); | 1223 | struct gstr help; |
| 1224 | |||
| 1225 | if (!menu) | ||
| 1226 | return; | ||
| 1227 | |||
| 1228 | help = str_new(); | ||
| 1224 | menu_get_ext_help(menu, &help); | 1229 | menu_get_ext_help(menu, &help); |
| 1225 | show_scroll_win(main_window, _(menu_get_prompt(menu)), str_get(&help)); | 1230 | show_scroll_win(main_window, _(menu_get_prompt(menu)), str_get(&help)); |
| 1226 | str_free(&help); | 1231 | str_free(&help); |
