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 | fa12c3782debade5f7f7c6611cf250b8580759c2 (patch) | |
tree | dd0fc6581fc89924e0deae44d2b6ab7924106bf9 /unix | |
parent | fea67060de9dfd5bfbd323703c49af707a130926 (diff) | |
download | tcl-fa12c3782debade5f7f7c6611cf250b8580759c2.zip tcl-fa12c3782debade5f7f7c6611cf250b8580759c2.tar.gz tcl-fa12c3782debade5f7f7c6611cf250b8580759c2.tar.bz2 |
*nix segfault cleared: we should reset a thread key after freeing of alloc cache (in tclUnixThrd.c)
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 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) { /* |