1
0
forked from aniani/vim

patch 7.4.1082

Problem:    The Tcl interface is always skipping memory free on exit.
Solution:   Only skip for dynamically loaded Tcl.
This commit is contained in:
Bram Moolenaar
2016-01-10 16:12:24 +01:00
parent 254b105b75
commit 858b96f382
2 changed files with 4 additions and 0 deletions

View File

@@ -2052,9 +2052,11 @@ tcldelallrefs(ref)
int err;
char *result;
#ifdef DYNAMIC_TCL
/* TODO: this code currently crashes Vim on exit */
if (exiting)
return;
#endif
while (ref != NULL)
{