diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-19 11:28:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-19 11:28:04 +0000 |
commit | b3a29558eedac9979f5276ae914934b7b7cbe06b (patch) | |
tree | 574ec81a2f889213a6d049e5a6726ac8f30185fb /src/alloc.c | |
parent | 777175b0df8c5ec3cd30d19a2e887e661ac209c8 (diff) | |
download | vim-git-b3a29558eedac9979f5276ae914934b7b7cbe06b.tar.gz |
patch 8.2.3620: memory leak reported in libtlibv8.2.3620
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.
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index a2dc08067..d0901f473 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -561,6 +561,7 @@ free_all_mem(void) # endif free_termoptions(); + free_cur_term(); // screenlines (can't display anything now!) free_screenlines(); |