Skip to content
Tcl Source Code Artifact [a7edba0b72]
Login

Artifact [a7edba0b72]

Artifact a7edba0b72bcac4ab08b4be92b27fb4a7bcc48c0:

Ticket change [a7edba0b72] - Ticket [1705778fffffffff|1705778fff] <i>valgrind error reports</i> status still Open with 4 other changes by andreas_kupries on 2007-04-24 01:23:45.
D 2007-04-24T01:23:45
J icomment Logged\sIn:\sYES\s\nuser_id=75003\nOriginator:\sNO\n\nMiguel,\sthe\sextCmdMapPtr\sleak\sis\stroublesome.\sThe\spointer\sis\sallocated\sin\sline\s883,\sand\swhile\sthere\swas\sno\scode\sreleasing\sit\sin\s"TclFreeCompileEnv"\syour\schange\sto\sit\s(line\s997)\sshould\shave\sno\seffect,\sthis\scode\sshould\snever\sbe\sexecuted.\sBecause\sin\sline\s2200\sthe\spointer\sis\stransfered\sto\sa\sdifferent\sstructure,\sthe\s"lineBCPtr"-Tcl_HashTable\sin\sthe\sInterp*\sstructure.\sThe\spointer\sin\sthe\scompile\senvironment\sis\sset\sto\sNULL\sat\sthat\spoint.\sThe\slineBCPtr\shash\sis\sallocated\sin\sline\s390\sof\s"tclBasic.c".\sRelease\sof\selements\shappens\sin\seither\slines\s1310ff\sof\sthe\ssame\sfile,\sor\sin\s"TclCleanupByteCode",\sin\sfile\s"tclCompile.c",\sline\s785ff.\sThese\sare\sthe\stwo\splaces\swhere\sextCmdMapPtr\sshould\sbe\sreleased,\sas\spart\sof\sthe\shash\sentry.\n\nThe\sonly\sway\sI\scan\ssee\sextCmdMapPtr\sleaking\sis\sif\sthe\sByteCode\sof\ssome\sTcl\scode\sitself\sis\snot\sreleased.\s\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 1705778fffffffffffffffffffffffffffffffff
U andreas_kupries
Z f3cd90e07f8dff34238cee6718ebb4cf