.
D 2012-12-27T02:42:51
J assignee nijtmans
J cmimetype text/plain
J comment in\sTcl_ListObjReplace,\sthe\sdeleted\selements\sare\sTcl_DecrRefCount'ed\sBEFORE\snew\selements\sare\sTcl_IncrRefCount'ed.\sIsn't\sthat\sa\sproblem\sif\sthe\sinserted\selement\shappens\sto\sbe\sin\sthe\slist\s(and\sonly\sin\sthe\slist).\sIt\swould\sbe\sfreed,\sand\sthe\sfreed\smemory\swould\sbe\sadded\sback\sto\sthe\slist.\sIt\swouold\shave\sto\sbe\sfrom\scustom\scode\s\s(for\sexample,\smoves\san\selement\sto\sthe\send).\sNot\sfrom\sscript\sor\sTcl_Eval\swhere\sthe\sobjects\sare\sref'ed\son\sthe\sstack\sand\shence\swill\snot\sbe\sreleased\safter\sthe\sTcl_DecrRefCount.\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter apnadkarni
J subsystem 14.\sList\sObject
J title Tcl_ListObjReplace\smay\srelease\sdeleted\selements\stoo\searly
J type Bug
K 3598580fffffffffffffffffffffffffffffffff
U apnadkarni
Z 6f84318245c9641ee62ac5bfdee53182