0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.3620: memory leak reported in libtlib

Problem:    Memory leak reported in libtlib.
Solution:   Call del_curterm() when cleaning up memory.  Rename term.h to
            termdefs.h to avoid a name clash.
This commit is contained in:
Bram Moolenaar
2021-11-19 11:28:04 +00:00
parent 777175b0df
commit b3a29558ee
12 changed files with 338 additions and 270 deletions

View File

@@ -561,6 +561,7 @@ free_all_mem(void)
# endif
free_termoptions();
free_cur_term();
// screenlines (can't display anything now!)
free_screenlines();