summaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-01 12:13:15 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-01 12:13:15 +0100
commit79ae152697ed0dfa578cfac305d05021dec2a6bc (patch)
tree3df65276f11979b8b35c33dcde4c2525a6d76815 /src/alloc.c
parent9610f94510220c783328e1857af87a6ae7bc20b4 (diff)
patch 9.0.0015: with EXITFREE defined terminal menus are not clearedv9.0.0015
Problem: With EXITFREE defined terminal menus are not cleared. Solution: Also clear terminal menus. Remove condition that is always true. (closes #10641)
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 6e2a30adf2..7ca20c7189 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -402,6 +402,7 @@ free_all_mem(void)
# ifdef FEAT_MENU
// Clear menus.
do_cmdline_cmd((char_u *)"aunmenu *");
+ do_cmdline_cmd((char_u *)"tlunmenu *");
# ifdef FEAT_MULTI_LANG
do_cmdline_cmd((char_u *)"menutranslate clear");
# endif