refactor(mch): last mch_ function/macro hits the dust

Also remove some stray comments.
This commit is contained in:
bfredl
2023-08-26 15:31:55 +02:00
parent 87cde88c41
commit bf36b0f8ec
5 changed files with 2 additions and 14 deletions

View File

@@ -618,8 +618,6 @@ static void free_menu(vimmenu_T **menup)
{
vimmenu_T *menu = *menup;
// Don't change *menup until after calling gui_mch_destroy_menu(). The
// MacOS code needs the original structure to properly delete the menu.
*menup = menu->next;
xfree(menu->name);
xfree(menu->dname);