]> granicus.if.org Git - vim/commitdiff
patch 7.4.1082 v7.4.1082
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2016 15:12:24 +0000 (16:12 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2016 15:12:24 +0000 (16:12 +0100)
Problem:    The Tcl interface is always skipping memory free on exit.
Solution:   Only skip for dynamically loaded Tcl.

src/if_tcl.c
src/version.c

index 995a5c72739f7bc0a28fb3293de3d53fec982b18..3e002b98a90b9a14a45b1e62ddfde1a98851fe07 100644 (file)
@@ -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)
     {
index 5bfab59d1f20e794d97eab7db2fcc7146426a7a9..f1e2b05b5cb55782d64c5f24c48fa59a8cb159a5 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1082,
 /**/
     1081,
 /**/