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:
@@ -561,6 +561,7 @@ free_all_mem(void)
|
||||
# endif
|
||||
|
||||
free_termoptions();
|
||||
free_cur_term();
|
||||
|
||||
// screenlines (can't display anything now!)
|
||||
free_screenlines();
|
||||
|
Reference in New Issue
Block a user