From: Andi Gutmans Date: Sun, 29 Apr 2001 12:58:50 +0000 (+0000) Subject: - Update to work with latest Zend X-Git-Tag: php-4.0.6RC1~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02b9292ff218b4113c01020f0c62feb090c8fa39;p=php - Update to work with latest Zend PR: Submitted by: Reviewed by: Obtained from: --- diff --git a/main/main.c b/main/main.c index f0d9156e6c..04d0c16325 100644 --- a/main/main.c +++ b/main/main.c @@ -526,7 +526,7 @@ static void php_message_handler_for_zend(long message, void *data) if (message==ZMSG_MEMORY_LEAK_DETECTED) { zend_mem_header *t = (zend_mem_header *) data; - void *ptr = (void *)((char *)t+sizeof(zend_mem_header)+PLATFORM_PADDING); + void *ptr = (void *)((char *)t+sizeof(zend_mem_header)+MEM_HEADER_PADDING); snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%d bytes), script=%s\n", t->filename, t->lineno, (unsigned long)ptr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); if (t->orig_filename) {