]> granicus.if.org Git - php/commitdiff
- Fixed bug #27640 memory leak of registered_zend_ini_directives (Dmitry)
authorAndi Gutmans <andi@php.net>
Sun, 23 May 2004 16:02:36 +0000 (16:02 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 23 May 2004 16:02:36 +0000 (16:02 +0000)
main/main.c

index 43e96d29f09caf963ff4e1f3badf80132321f2d4..4ae381cb5af50f40d07548ae355846518bdab990 100644 (file)
@@ -1529,6 +1529,8 @@ void php_module_shutdown(TSRMLS_D)
 #ifndef ZTS
        zend_ini_shutdown(TSRMLS_C);
        shutdown_memory_manager(CG(unclean_shutdown), 1 TSRMLS_CC);
+#else
+       zend_ini_global_shutdown(TSRMLS_C);
 #endif
 
        module_initialized = 0;