forked from aniani/vim
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().
This commit is contained in:
@@ -248,6 +248,14 @@ vim_tcl_init(char *arg)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(EXITFREE) || defined(PROTO)
|
||||
void
|
||||
vim_tcl_finalize(void)
|
||||
{
|
||||
Tcl_Finalize();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(DYNAMIC_TCL) || defined(PROTO)
|
||||
|
||||
static int stubs_initialized = FALSE;
|
||||
|
Reference in New Issue
Block a user