comparison src/if_tcl.c @ 7564:aee06f1762e0 v7.4.1082

commit https://github.com/vim/vim/commit/858b96f382eeb8f1eab5100639e7b09523a6a2a1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 10 16:12:24 2016 +0100 patch 7.4.1082 Problem: The Tcl interface is always skipping memory free on exit. Solution: Only skip for dynamically loaded Tcl.
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Jan 2016 16:15:06 +0100
parents c9fc24b76293
children d30f4f9b1024
comparison
equal deleted inserted replaced
7563:e1165e3f5586 7564:aee06f1762e0
2050 { 2050 {
2051 struct ref *next; 2051 struct ref *next;
2052 int err; 2052 int err;
2053 char *result; 2053 char *result;
2054 2054
2055 #ifdef DYNAMIC_TCL
2055 /* TODO: this code currently crashes Vim on exit */ 2056 /* TODO: this code currently crashes Vim on exit */
2056 if (exiting) 2057 if (exiting)
2057 return; 2058 return;
2059 #endif
2058 2060
2059 while (ref != NULL) 2061 while (ref != NULL)
2060 { 2062 {
2061 next = ref->next; 2063 next = ref->next;
2062 if (ref->interp) 2064 if (ref->interp)