]> granicus.if.org Git - php/commitdiff
SAPI globals are destroied at this point and reporting errors about memory leaks...
authorDmitry Stogov <dmitry@php.net>
Fri, 2 Jun 2006 13:30:55 +0000 (13:30 +0000)
committerDmitry Stogov <dmitry@php.net>
Fri, 2 Jun 2006 13:30:55 +0000 (13:30 +0000)
Zend/zend.c

index b445e3409002e4cf7d47c00cd420d53b3bf66f6e..d63ec97198c69332cb79a23dcfc1e4be107a6583 100644 (file)
@@ -517,7 +517,7 @@ static void zend_new_thread_end_handler(THREAD_T thread_id TSRMLS_DC)
 
 static void alloc_globals_dtor(zend_alloc_globals *alloc_globals_p TSRMLS_DC)
 {
-       shutdown_memory_manager(0, 1 TSRMLS_CC);
+       shutdown_memory_manager(1, 1 TSRMLS_CC);
 }
 #endif