1
0
forked from aniani/vim

patch 9.0.0874: using freed memory when executing unmenu at more prompt

Problem:    Using freed memory when executing unmenu at the more prompt.
Solution:   Do not clear menus while listing them. (closes #11439)
This commit is contained in:
Bram Moolenaar
2022-11-13 21:10:02 +00:00
parent bf533e4e88
commit 920d311480
4 changed files with 63 additions and 3 deletions

View File

@@ -3335,3 +3335,7 @@ EXTERN char e_cannot_resize_window_in_another_tab_page[]
#endif
EXTERN char e_cannot_change_mappings_while_listing[]
INIT(= N_("E1309: Cannot change mappings while listing"));
#if defined(FEAT_MENU)
EXTERN char e_cannot_change_menus_while_listing[]
INIT(= N_("E1310: Cannot change menus while listing"));
#endif