diff options
-rw-r--r-- | Zend/zend.h | 1 | ||||
-rw-r--r-- | Zend/zend_alloc.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 6616c4efcb..c8bad36681 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -223,5 +223,6 @@ extern zend_utility_values zend_uv; #define ZMSG_FAILED_HIGHLIGHT_FOPEN 4L #define ZMSG_MEMORY_LEAK_DETECTED 5L #define ZMSG_MEMORY_LEAK_REPEATED 6L +#define ZMSG_LOG_SCRIPT_NAME 7L #endif /* _ZEND_H */ diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index eec6b69daa..e2d2a63688 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -431,6 +431,7 @@ ZEND_API int _mem_block_check(void *ptr, int silent, char *filename, int lineno) no_cache_notice=1; } if (!silent) { + zend_message_dispatcher(ZMSG_LOG_SCRIPT_NAME, NULL); zend_debug_alloc_output("---------------------------------------\n"); zend_debug_alloc_output("Block 0x%0.8lX status at %s:%d:\n", (long) p, filename, lineno); zend_debug_alloc_output("%10s\t","Beginning: "); |