Skip to content
Tcl Source Code Check-in [d91074b88a]
Login

Check-in [d91074b88a]

Overview
Comment:Stuffed memory leak incurred by re-initializing of TSD slots after the last call to TclFinalizeThreadData (done from within Tcl_FinalizeThread()). We basically just repeat the TclFinalizeThreadData() once more before tearing down TSD keys in TclFinalizeSynchronization(). There should be more elaborate mechanism in place for handling such issues, based on thread cleanup handlers registered on the OS level. Such change requires much more work and would also require TIP because some visible parts of Tcl API would have to be modified. In the meantime, this will do.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d91074b88a380050f6d248f3c4ac89c5abfa41c4
User & Date: vasiljevic on 2004-07-15 20:04:37.000
Other Links: manifest | tags
Context
2004-07-15
20:19
* generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to the old depreceated newline syntax... check-in: 571069b435 user: andreas_kupries tags: trunk
20:04
Stuffed memory leak incurred by re-initializing of TSD slots after the last call to TclFinalizeThrea... check-in: d91074b88a user: vasiljevic tags: trunk
18:31
* generic/tclLiteral.c (TclReleaseLiteral): Removed unused variable 'codePtr' to silence a message f... check-in: d437bc09c5 user: kennykb tags: trunk
Changes