.
D 2012-12-22T13:21:19
J assignee nobody
J cmimetype text/plain
J comment While\sskimming\sthro'\sthe\snew\s8.6\ssource\scode,\si\sspotted\nsomething\sthat\slloked\sfishy\sin\stclUtil.c.\n\nIf\sTclDStringToObj()\sis\scalled\son\sa\sDString\swhose\slength\sis\szero,\nbut\swhich\shas\shad\sits\sstring\sallocated,\sthen\sit\sstill\sneeds\san\nexplicit\scall\sto\sTcl_DStringFree.\sThe\sdocumentation\ssuggests\nthis\sis\snot\snecessary.\n\nIt\slooks\sto\sme\slike\sthe\sfirst\sif\sblock:\sif\s(dsPtr->length\s==\s0)\nis\swrong\sand\sshould\sbe\sremoved.\n\n\nI've\snot\stested\sthis,\sso\si\smay\sbe\smissing\ssomething\sobvious.\n\nMerry\sXmas!
J foundin current:\s8.6.0
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter afredd
J subsystem None
J title TclDStringToObj\smay\strigger\sleak
J type Bug
K 3598150fffffffffffffffffffffffffffffffff
U afredd
Z 5d3d15c569e1c6aa16475c7fb2262fb0