cvs: ZendEngine2(PHP_5_2) / zend.c
| From: | Dmitry Stogov | Date: | Fri, 02 Jun 2006 13:30:56 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_2) / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4963@lists.php.net to get a copy of this message | ||
dmitry Fri Jun 2 13:30:56 2006 UTC
Modified files: (Branch: PHP_5_2)
/ZendEngine2 zend.c
Log:
SAPI globals are destroied at this point and reporting errors about memory leaks can cause crash.
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend.c?r1=1.308.2.12.2.8&r2=1.308.2.12.2.9&diff_format=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.308.2.12.2.8 ZendEngine2/zend.c:1.308.2.12.2.9
--- ZendEngine2/zend.c:1.308.2.12.2.8 Fri May 19 06:09:14 2006
+++ ZendEngine2/zend.c Fri Jun 2 13:30:55 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.308.2.12.2.8 2006/05/19 06:09:14 dmitry Exp $ */
+/* $Id: zend.c,v 1.308.2.12.2.9 2006/06/02 13:30:55 dmitry Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -517,7 +517,7 @@
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