commit | c7269f862748c3b0f56b5a651019e18c7d5190ee | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Dec 05 11:36:23 2021 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Dec 05 11:36:23 2021 +0000 |
tree | 09680ace5adda3503ae6589ebcf1b26947f36194 | |
parent | dea4a616376c6500894c16e26057ce16d7ef9f0e [diff] [blame] |
patch 8.2.3740: memory left allocated on exit when using Tcl Problem: Memory left allocated on exit when using Tcl. Solution: Call Tcl_Finalize().
diff --git a/src/alloc.c b/src/alloc.c index 38b452c..84a1124 100644 --- a/src/alloc.c +++ b/src/alloc.c
@@ -574,6 +574,9 @@ # ifdef FEAT_GUI_GTK gui_mch_free_all(); # endif +# ifdef FEAT_TCL + vim_tcl_finalize(); +# endif clear_hl_tables(); vim_free(IObuff);