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; int err;
char *result; char *result;
#ifdef DYNAMIC_TCL
/* TODO: this code currently crashes Vim on exit */ /* TODO: this code currently crashes Vim on exit */
if (exiting) if (exiting)
return; return;
#endif
while (ref != NULL) while (ref != NULL)
{ {

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1082,
/**/ /**/
1081, 1081,
/**/ /**/