<i>memory leak in [namespace eval foo {}]</i> status still Open with 4 other changes
by
.
D 2001-10-11T20:13:14
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nI\sdo\sthink\sI\shave\sa\scorrect\spatch\snow\s-\sthe\sspecial\shandling\nof\sself-referencing\sbytecodes\sin\sTclreleaseLiteral\n(tclLiteral.c)\swas\sbeing\sdone\stoo\searly\s(entryPtr->refCount\n==\s2\sat\sfunction\sentry)\sand\sremoving\stwo\sglobal\stable\nreferences\sin\sone\sgo\s(setting\sentryPtr->refCount\sto\s0)\swhile\ndecreasing\sthe\sobject's\scorresponding\srefCount\sby\sjust\sone.\n\nMy\searlier\spatch\scorrected\sthis\sby\sremoving\sa\sreference\sto\nthe\sobject\stoo\s-\sas\sRonnie\sdiscovered,\sin\ssome\ssituations\nthis\scaused\sthe\sobject\sto\sbe\saccessed\safter\sit\swas\sremoved.\n\nThis\spatch\srestores\s"normal\shandling":\seach\scall\sto\nTclReleaseLiteral\sremoves\sat\smost\sone\sreference\sin\sthe\nglobal\stable,\sand\sthe\sspecial\scode\sfor\sself-referencing\nbytecodes\sis\sonly\sused\sat\sthe\slast\spass.\n
J login msofer
J mimetype text/plain
J username msofer
K 467523ffffffffffffffffffffffffffffffffff
U msofer
Z 029283fe343e9ec5907eb5d526d5f7f0