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 | 5b5f0209a4f6007ff2804da3f32258bb2148e814 (patch) | |
tree | 7c825dbeded76cc60fc9770c7f9d97f008323262 /unix | |
parent | 333fb43fbfb982a67285d944fe45a42dc8f85913 (diff) | |
parent | fe4debabde73db9d51c655f61d19bc8d23956668 (diff) | |
download | tcl-5b5f0209a4f6007ff2804da3f32258bb2148e814.zip tcl-5b5f0209a4f6007ff2804da3f32258bb2148e814.tar.gz tcl-5b5f0209a4f6007ff2804da3f32258bb2148e814.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) { /* |