.
D 2002-02-14T13:32:06
J assignee andreas_kupries
J cmimetype text/plain
J comment While\slooking\sthrough\sthe\ssources,\sI\shave\sstumbled\naccross\ssomething\sthat\slooks\sto\sme\slike\sa\spossible\nmemory\sleak.\sI\smay\sbe\smissing\ssomething\sthough.\n\nThe\sissue\sis\sin\sfunction\sTcl_GetsObjCmd\s(tclIOCmd.c):\non\sline\s253\swe\ssee\n\s\s\s\sif\s(objc\s==\s3)\s{\nTcl_DecrRefCount(linePtr);\n\s\s\s\s}\nI\sthink\sthat\slinePtr\sshould\sbe\sTcl_DecrRefCount'ed\salso\nwhen\sobjc\sis\snot\sequal\sto\s3.\n\nAs\sit\sis,\sI\ssuspect\sthe\slinePtr\sobject\swill\sbe\sleaked\nwhen\sthere\sis\san\serror\sreading\sthe\schannel\sin\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\smyVar\s[gets\s$chan]\ni.e.,\swith\s(objc\s==\s2)\n\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter msofer
J subsystem 24.\sChannel\sCommands
J title mem\sleakin\sTcl_GetsObjCmd\s?
J type Bug
K 517503ffffffffffffffffffffffffffffffffff
U msofer
Z 6c249e9bb626068be09c626f7746ecad