Skip to content

Commit 858b96f

Browse files
committed
patch 7.4.1082
Problem: The Tcl interface is always skipping memory free on exit. Solution: Only skip for dynamically loaded Tcl.
1 parent 254b105 commit 858b96f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/if_tcl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,9 +2052,11 @@ tcldelallrefs(ref)
20522052
int err;
20532053
char *result;
20542054

2055+
#ifdef DYNAMIC_TCL
20552056
/* TODO: this code currently crashes Vim on exit */
20562057
if (exiting)
20572058
return;
2059+
#endif
20582060

20592061
while (ref != NULL)
20602062
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1082,
744746
/**/
745747
1081,
746748
/**/

0 commit comments

Comments
 (0)