patch 7.4.1082
Problem: The Tcl interface is always skipping memory free on exit.
Solution: Only skip for dynamically loaded Tcl.
diff --git a/src/if_tcl.c b/src/if_tcl.c
index 995a5c7..3e002b9 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -2052,9 +2052,11 @@
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 5bfab59..f1e2b05 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1082,
+/**/
1081,
/**/
1080,