summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_strtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c
index 7a7771cc97..01091fd36a 100644
--- a/Zend/zend_strtod.c
+++ b/Zend/zend_strtod.c
@@ -439,6 +439,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;
@@ -446,7 +447,6 @@ ZEND_API int zend_shutdown_strtod(void) /* {{{ */
tsrm_mutex_free(pow5mult_mutex);
pow5mult_mutex = NULL;
#endif
- destroy_freelist();
return 1;
}
/* }}} */