diff options
author | Shane Caraveo <shane@php.net> | 2001-01-08 00:35:05 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2001-01-08 00:35:05 +0000 |
commit | d0dbf1ea57acfea51b6bd2fd3bb17bca26e43deb (patch) | |
tree | 22e8e50cc80b4c5731ab9cc0e8882cda867cf221 /TSRM/TSRM.c | |
parent | 65eac44f699c91ca4a09c126c58e581012a33235 (diff) | |
download | php-git-d0dbf1ea57acfea51b6bd2fd3bb17bca26e43deb.tar.gz |
my mistake...freed in a different function.
Diffstat (limited to 'TSRM/TSRM.c')
-rw-r--r-- | TSRM/TSRM.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c index 7914c72943..0edba20248 100644 --- a/TSRM/TSRM.c +++ b/TSRM/TSRM.c @@ -249,7 +249,6 @@ TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id) if (!thread_resources) { allocate_new_resource(&tsrm_tls_table[hash_value], thread_id); - tsrm_mutex_unlock(tsmm_mutex); return ts_resource(id); /* thread_resources = tsrm_tls_table[hash_value]; */ } else { @@ -261,7 +260,6 @@ TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id) thread_resources = thread_resources->next; } else { allocate_new_resource(&thread_resources->next, thread_id); - tsrm_mutex_unlock(tsmm_mutex); return ts_resource(id); /* * thread_resources = thread_resources->next; |