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;
|
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)
|
||||||
{
|
{
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user