From ac8ab878416b9203542c96ce24571aaee0b13224 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Wed, 4 Apr 2001 16:25:29 +0000 Subject: [PATCH] - This can explain lots of instability on multi-threaded platforms! --- TSRM/TSRM.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c index 24d8ea969e6..faf1f1f0c73 100644 --- a/TSRM/TSRM.c +++ b/TSRM/TSRM.c @@ -352,7 +352,7 @@ void ts_free_thread(void) if (last) { last->next = thread_resources->next; } else { - tsrm_tls_table[hash_value]=NULL; + tsrm_tls_table[hash_value] = thread_resources->next; } #if defined(PTHREADS) pthread_setspecific( tls_key, 0 );