summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2004-07-15 20:04:37 (GMT)
committervasiljevic <zv@archiware.com>2004-07-15 20:04:37 (GMT)
commit9d7f713f586c81f1d0d0632785099ab9d6b852e1 (patch)
treecda637381493aaa8fd7374f0ce8fa0286d5c8da4 /ChangeLog
parent795721e7172e3fe72dc211f941a7519df12958b6 (diff)
downloadtcl-9d7f713f586c81f1d0d0632785099ab9d6b852e1.zip
tcl-9d7f713f586c81f1d0d0632785099ab9d6b852e1.tar.gz
tcl-9d7f713f586c81f1d0d0632785099ab9d6b852e1.tar.bz2
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 60560f9..98d54b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2004-07-15 Kevin Kenny <kennykb@acm.org>
+ * generic/tclEvent.c (Tcl_Finalize): 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.
+
+2004-07-15 Kevin Kenny <kennykb@acm.org>
+
* generic/tclLiteral.c (TclReleaseLiteral): Removed unused
variable 'codePtr' to silence a message from VC++.