1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00

destroy freelist before destroying the mutexes

This commit is contained in:
Antony Dovgal
2006-12-06 10:49:19 +00:00
parent 4789badd3a
commit d8e8eb4e08

View File

@@ -442,6 +442,7 @@ ZEND_API int zend_startup_strtod(void) /* {{{ */
/* }}} */
ZEND_API int zend_shutdown_strtod(void) /* {{{ */
{
destroy_freelist();
#ifdef ZTS
tsrm_mutex_free(dtoa_mutex);
dtoa_mutex = NULL;
@@ -449,7 +450,6 @@ ZEND_API int zend_shutdown_strtod(void) /* {{{ */
tsrm_mutex_free(pow5mult_mutex);
pow5mult_mutex = NULL;
#endif
destroy_freelist();
return 1;
}
/* }}} */