summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-06-22 19:05:40 +0000
committerZeev Suraski <zeev@php.net>1999-06-22 19:05:40 +0000
commit3eac45ea80288498cd3e33eb4bba91181bd6a0c6 (patch)
tree2afc646b6cf866c077836f698eb8788bfa6e2d55 /Zend/zend_alloc.c
parent31c8ec4c8087c9af9ce55ed4aeecb72a52b477db (diff)
downloadphp-git-3eac45ea80288498cd3e33eb4bba91181bd6a0c6.tar.gz
* Fix concatenation of arrays (it was PHP 3.0 style, copying zval's instead
of zval *, and it wasn't using reference counting) * Fix a memory leak in static array()'s with textual indices
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r--Zend/zend_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index e2d2a63688..4911156c6d 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -433,7 +433,7 @@ ZEND_API int _mem_block_check(void *ptr, int silent, char *filename, int lineno)
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("%s(%d) : Block 0x%0.8lX status:\n", filename, lineno, (long) p);
zend_debug_alloc_output("%10s\t","Beginning: ");
}