mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- Update to work with latest Zend
PR: Submitted by: Reviewed by: Obtained from:
This commit is contained in:
parent
c8a768a2fb
commit
02b9292ff2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue