Skip to content
Tcl Source Code Artifact [ccc8b4121c]
Login

Artifact [ccc8b4121c]

Artifact ccc8b4121c09d22ae5b9d99a82300f893ebe6352:

Ticket change [ccc8b4121c] - New ticket [983501ffffffffff|983501ffff] <i>Resource leak in [pkgconfig] ?</i>. by dgp on 2004-07-01 15:51:45.
D 2004-07-01T15:51:45
J assignee andreas_kupries
J cmimetype text/plain
J comment \nTcl_RegisterConfig()\screates\sa\s[pkgconfig]\ncommand.\s\sConfiguration\svalues\sare\sstored\nin\sa\sdictionary,\sand\sthe\s[pkgconfig]\scommand\nprovides\sread\saccess\sto\sthe\sdictionary.\n\nWhen\sthe\s[pkgconfig]\scommand\sis\ndeleted\sfrom\sthe\sinterp,\sthe\sdictionary\nof\sdata\sremains,\sit\sis\snot\sfreed\suntil\nthe\sinterp\sis\sdeleted.\s\sThe\selements\nof\sthe\sdictionary\smay\sbe\sfreed\sas\sthey\nare\soverwritten\sby\sa\slater\scall\sto\s\nTcl_RegisterConfig()\son\sthe\ssame\sinterp.\n\nBesides\san\sunbalanced\scleanup,\sthis\nalso\sopens\sthe\spossibility\sof\shaving\n[pkgconfig]\sreturn\sdata\svalues\sthat\nare\sa\smixture\sof\sdifferent\sTcl_RegisterConfig()\ncalls\s(possibly\sfrom\smultiple\sversions\sof\nthe\ssame\spackage?).\n\nI\sthink\swe\swant\sQueryConfigDelete()\sto\nclear\sthe\sdictionary\sof\sdata.
J foundin obsolete:\s8.5a2
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 54.\sConfiguration\sReporting
J title Resource\sleak\sin\s[pkgconfig]\s?
J type Bug
K 983501ffffffffffffffffffffffffffffffffff
U dgp
Z c09a42174de81be4daf72a48c8f589b1