.
D 2009-03-16T04:08:25
J assignee vincentdarley
J cmimetype text/plain
J comment \nThe\sTclpObjNormalizePath\sfunction\sin\stclWinFile.c\shas\san\sobject\sleak.\s\sThe\soriginal\sobject\sis\sallocated\shere:\n\nTcl_Obj\s*to\s=\sWinReadLinkDirectory(nativePath);\n\nThe\svalue\sof\sthe\s"to"\svariable\sis\slater\sassigned\sto\sthe\s"temp"\svariable:\s\s\n\nif\s(temp\s!=\sNULL)\s{\n\s\s\s\sTcl_DecrRefCount(temp);\n}\ntemp\s=\sto;\n\nThe\sintermediate\svalues\sof\sthe\s"temp"\svariable\sare\sproperly\sfreed;\showever,\sthe\sfinal\svalue\sof\sthe\s"temp"\svariable\sis\snot\sfreed\safter\sthe\scontaining\swhile\sloop\sexits.\n\nThe\ssimplest\sway\sto\sI\shave\sfound\sto\sreproduce\sthis\sleak\sis\sto\suse\s[file\snormalize]\son\sa\spath\sthat\suses\sNT\sreparse\spoints.\n\nThis\sleak\salso\sappears\sto\simpact\sTcl\s8.4\sand\s8.5.\n
J foundin obsolete:\s8.6b1.1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter mistachkin
J subsystem 36.\sPathname\sManagement
J title Tcl_Obj\sleak\sin\sTclpObjNormalizePath\s(tclWinFile.c)
J type Bug
K 2688184fffffffffffffffffffffffffffffffff
U mistachkin
Z d43915e964c19779c9ffbd8772987f01