summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-04-04 16:26:02 +0000
committerAndi Gutmans <andi@php.net>2001-04-04 16:26:02 +0000
commitee759fdf89f452c38a1c61c7be9e9376b55e61dc (patch)
tree02c948cdbc8b3dc6d2329177426e30c21f1b4913
parenteb08e83c37db7722c00118967afeda3f86398e6f (diff)
downloadphp-git-ee759fdf89f452c38a1c61c7be9e9376b55e61dc.tar.gz
- MFH (Very serious and it looks like the arg_separator will force another
RC)
-rw-r--r--TSRM/TSRM.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c
index 24d8ea969e..faf1f1f0c7 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 );