mirror of
https://github.com/neovim/neovim.git
synced 2025-12-20 21:35:38 +00:00
vim-patch:8.0.1496: VIM_CLEAR()
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629)
vim-patch:8.0.1481
This commit is contained in:
@@ -388,8 +388,7 @@ add_menu_path(
|
||||
menup = &menu->children;
|
||||
parent = menu;
|
||||
name = next_name;
|
||||
xfree(dname);
|
||||
dname = NULL;
|
||||
XFREE_CLEAR(dname);
|
||||
if (pri_tab[pri_idx + 1] != -1) {
|
||||
pri_idx++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user