summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-04-24 04:34:01 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-04-24 04:34:01 (GMT)
commit3ec273770b6c93b8a1281ba9412eda19ac3d3184 (patch)
tree7c825dbeded76cc60fc9770c7f9d97f008323262 /unix
parentaf15fe284aa109259d33de36b92752494e67fa73 (diff)
parentc69e73e1839416633daa84c608f5ae36091275ba (diff)
downloadtcl-3ec273770b6c93b8a1281ba9412eda19ac3d3184.zip
tcl-3ec273770b6c93b8a1281ba9412eda19ac3d3184.tar.gz
tcl-3ec273770b6c93b8a1281ba9412eda19ac3d3184.tar.bz2
[3493120] Plug memory leak in thread exit.
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixThrd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index f469341..d34bc88 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -727,6 +727,7 @@ TclpFreeAllocCache(
*/
TclFreeAllocCache(ptr);
+ pthread_setspecific(key, NULL);
} else if (initialized) {
/*