diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-10 15:38:35 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-10 15:38:35 +0100 |
commit | b301f6b950975b9d7ae87a4f551b32bba63ccdcf (patch) | |
tree | f012145cca456fe2f3aa04293fed21afd0f6209b /src/misc2.c | |
parent | a8f04aa275984183bab5bb583b128f38c64abb69 (diff) |
patch 8.0.1492: memory leak in balloon_split()v8.0.1492
Problem: Memory leak in balloon_split().
Solution: Free the balloon lines. Free the balloon when exiting.
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c index 368303ed9e..0deccdf509 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -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); |