diff options
| author | Zeev Suraski <zeev@php.net> | 2004-02-10 18:46:53 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2004-02-10 18:46:53 +0000 |
| commit | acb1f365d2f67d1fefa929638e7a060325ba5760 (patch) | |
| tree | 32c09525b8d5e8a01513a9269cfc60af64bcf728 | |
| parent | b8a990ace79598de7f0abcfa3eab4c6806cc1dcc (diff) | |
| download | php-git-acb1f365d2f67d1fefa929638e7a060325ba5760.tar.gz | |
Cleanup
| -rw-r--r-- | main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c index e2ad368b41..deaf5f865e 100644 --- a/main/main.c +++ b/main/main.c @@ -923,7 +923,7 @@ static void php_message_handler_for_zend(long message, void *data) case ZMSG_MEMORY_LEAK_DETECTED: case ZMSG_MEMORY_LEAK_REPEATED: #if ZEND_DEBUG - if ((EG(error_reporting) & E_WARNING) && PG(report_memleaks)) { + if (EG(error_reporting) & E_WARNING) { char memory_leak_buf[512]; if (message==ZMSG_MEMORY_LEAK_DETECTED) { @@ -952,7 +952,7 @@ static void php_message_handler_for_zend(long message, void *data) break; case ZMSG_MEMORY_LEAKS_GRAND_TOTAL: #if ZEND_DEBUG - if ((EG(error_reporting) & E_WARNING) && PG(report_memleaks)) { + if (EG(error_reporting) & E_WARNING) { char memory_leak_buf[512]; snprintf(memory_leak_buf, 512, "=== Total %d memory leaks detected ===\n", *((zend_uint *) data)); |
