mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
refactor(mch): last mch_ function/macro hits the dust
Also remove some stray comments.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user