diff options
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r-- | unix/tclUnixThrd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 562c7ee..cf81850 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -713,7 +713,7 @@ TclpInitAllocCache(void) { pthread_mutex_lock(allocLockPtr); pthread_key_create(&key, TclpFreeAllocCache); - pthread_mutex_unlock(allocLockPtr); + pthread_mutex_unlock(allocLockPtr); } void @@ -727,7 +727,7 @@ TclpFreeAllocCache( TclFreeAllocCache(ptr); pthread_setspecific(key, NULL); - + } else { pthread_key_delete(key); } |