forked from aniani/vim
patch 8.0.1492: memory leak in balloon_split()
Problem: Memory leak in balloon_split(). Solution: Free the balloon lines. Free the balloon when exiting.
This commit is contained in:
@@ -1116,6 +1116,10 @@ free_all_mem(void)
|
||||
spell_free_all();
|
||||
# endif
|
||||
|
||||
#if defined(FEAT_INS_EXPAND) && defined(FEAT_BEVAL_TERM)
|
||||
ui_remove_balloon();
|
||||
# endif
|
||||
|
||||
# if defined(FEAT_USR_CMDS)
|
||||
/* Clear user commands (before deleting buffers). */
|
||||
ex_comclear(NULL);
|
||||
|
Reference in New Issue
Block a user