1
0
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:
Bram Moolenaar
2018-02-10 15:38:35 +01:00
parent a8f04aa275
commit b301f6b950
3 changed files with 8 additions and 0 deletions

View File

@@ -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);