]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Wed, 6 Dec 2006 10:49:27 +0000 (10:49 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 6 Dec 2006 10:49:27 +0000 (10:49 +0000)
Zend/zend_strtod.c

index 7a7771cc9780325807d156eeeb2cdfd4812c0da5..01091fd36ab7d13322073077d3445c99ac2c4e80 100644 (file)
@@ -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;
 }
 /* }}} */