diff options
| author | Dmitry Stogov <dmitry@php.net> | 2006-06-02 13:31:38 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2006-06-02 13:31:38 +0000 |
| commit | 916a3173852308bcd6d89bc6cb118faa58235d92 (patch) | |
| tree | e432d940ac160e55a7772b08e9d1eb25e09281c9 | |
| parent | 136d3c6fbe24f181fe8e2e2c80af015b12521e30 (diff) | |
| download | php-git-916a3173852308bcd6d89bc6cb118faa58235d92.tar.gz | |
SAPI globals are destroied at this point and reporting errors about memory leaks
can cause crash.
| -rw-r--r-- | Zend/zend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 6afcf6d369..b848f6d91c 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -871,7 +871,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 |
