Skip to content
Tcl Source Code Artifact [0fb1ff7278]
Login

Artifact [0fb1ff7278]

Artifact 0fb1ff7278ed0f8a9911f5c6bf76a3428af3bbb9:

Manifest of check-in [0fb1ff7278] - * generic/tclBasic.c (Tcl_CloneInterp): Moved 'TclCreateExecEnv' behind 'CloneNamespace'. This fixes the last leak found. The function creates a variable 'tcl_traceExec', and links a C variable to it. Running 'CloneNamespace' afterward overwrites the pointer, leaking the structure created by 'TclCreateExecEnv'. by andreas_kupries on 2002-11-26 22:15:57.
B a6ed18c14501005fea31970656ce8822b6e163f4
C \n\t*\sgeneric/tclBasic.c\s(Tcl_CloneInterp):\sMoved\s'TclCreateExecEnv'\n\t\s\sbehind\s'CloneNamespace'.\sThis\sfixes\sthe\slast\sleak\sfound.\sThe\n\t\s\sfunction\screates\sa\svariable\s'tcl_traceExec',\sand\slinks\sa\sC\n\t\s\svariable\sto\sit.\sRunning\s'CloneNamespace'\safterward\soverwrites\n\t\s\sthe\spointer,\sleaking\sthe\sstructure\screated\sby\n\t\s\s'TclCreateExecEnv'.\n
D 2002-11-26T22:15:57
F ChangeLog 0dc548dc3e1c3de8f8857c5ba48b9c57b991ae9a
F generic/tclBasic.c cf96e1a3110145871da30860ff147860a2a11f83
P a6ed18c14501005fea31970656ce8822b6e163f4
U andreas_kupries
Z 4a4dcd23bef699bd05529b79c5075522