summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-10 16:12:24 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-10 16:12:24 +0100
commit858b96f382eeb8f1eab5100639e7b09523a6a2a1 (patch)
treeb961b054eb10523327f08122c60358879c51a83e
parent254b105b755d9736ece5f7f28db92acaf3e7bf76 (diff)
downloadvim-git-858b96f382eeb8f1eab5100639e7b09523a6a2a1.tar.gz
patch 7.4.1082v7.4.1082
Problem: The Tcl interface is always skipping memory free on exit. Solution: Only skip for dynamically loaded Tcl.
-rw-r--r--src/if_tcl.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c
index 995a5c727..3e002b98a 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -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)
{
diff --git a/src/version.c b/src/version.c
index 5bfab59d1..f1e2b05b5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1082,
+/**/
1081,
/**/
1080,