diff options
author | dgp <dgp@users.sourceforge.net> | 2014-04-24 04:34:01 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-04-24 04:34:01 (GMT) |
commit | 3ec273770b6c93b8a1281ba9412eda19ac3d3184 (patch) | |
tree | 7c825dbeded76cc60fc9770c7f9d97f008323262 /unix | |
parent | af15fe284aa109259d33de36b92752494e67fa73 (diff) | |
parent | c69e73e1839416633daa84c608f5ae36091275ba (diff) | |
download | tcl-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.c | 1 |
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) { /* |