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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user