diff options
author | dgp <dgp@users.sourceforge.net> | 2014-04-23 18:25:27 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-04-23 18:25:27 (GMT) |
commit | fe4debabde73db9d51c655f61d19bc8d23956668 (patch) | |
tree | 8b77f40dadcc9f07791387401ab293f6213d6fff /unix/tclUnixThrd.c | |
parent | 190e2f09e8fa5bc975ba496a5544b4dd853378f0 (diff) | |
parent | f231f10b58b9f58583b664655b513d3f3ee0c382 (diff) | |
download | tcl-fe4debabde73db9d51c655f61d19bc8d23956668.zip tcl-fe4debabde73db9d51c655f61d19bc8d23956668.tar.gz tcl-fe4debabde73db9d51c655f61d19bc8d23956668.tar.bz2 |
[3493120] Plug memory leak in thread exit.
Diffstat (limited to 'unix/tclUnixThrd.c')
-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 ad36242..d30791d 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -814,6 +814,7 @@ TclpFreeAllocCache( */ TclFreeAllocCache(ptr); + pthread_setspecific(key, NULL); } else if (initialized) { /* |