diff options
author | sebres <sebres@users.sourceforge.net> | 2014-04-23 09:18:20 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2014-04-23 09:18:20 (GMT) |
commit | f231f10b58b9f58583b664655b513d3f3ee0c382 (patch) | |
tree | dd0fc6581fc89924e0deae44d2b6ab7924106bf9 /unix/tclUnixThrd.c | |
parent | 192fce9c01c4ee3827aa8f54967764c18bdd5dca (diff) | |
download | tcl-f231f10b58b9f58583b664655b513d3f3ee0c382.zip tcl-f231f10b58b9f58583b664655b513d3f3ee0c382.tar.gz tcl-f231f10b58b9f58583b664655b513d3f3ee0c382.tar.bz2 |
*nix segfault cleared: we should reset a thread key after freeing of alloc cache (in tclUnixThrd.c)bug_3493120
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) { /* |