diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-05 11:36:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-05 11:36:23 +0000 |
commit | c7269f862748c3b0f56b5a651019e18c7d5190ee (patch) | |
tree | 09680ace5adda3503ae6589ebcf1b26947f36194 /src/alloc.c | |
parent | dea4a616376c6500894c16e26057ce16d7ef9f0e (diff) |
patch 8.2.3740: memory left allocated on exit when using Tclv8.2.3740
Problem: Memory left allocated on exit when using Tcl.
Solution: Call Tcl_Finalize().
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index 38b452cbe2..84a1124f35 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -574,6 +574,9 @@ free_all_mem(void) # ifdef FEAT_GUI_GTK gui_mch_free_all(); # endif +# ifdef FEAT_TCL + vim_tcl_finalize(); +# endif clear_hl_tables(); vim_free(IObuff); |