Skip to content

Commit 8cf2d74

Browse files
author
Andi Gutmans
committed
- Make the memory leak message print PHP4.
1 parent b32b283 commit 8cf2d74

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ static void php_message_handler_for_zend(long message, void *data)
612612
# if APACHE /* log into the errorlog, since at this time we can't send messages to the browser */
613613
char memory_leak_buf[512];
614614

615-
snprintf(memory_leak_buf,512,"Possible PHP3 memory leak detected (harmless): %d bytes from %s:%d",t->size,t->filename,t->lineno);
615+
snprintf(memory_leak_buf,512,"Possible PHP4 memory leak detected (harmless): %d bytes from %s:%d",t->size,t->filename,t->lineno);
616616
# if MODULE_MAGIC_NUMBER >= 19970831
617617
aplog_error(NULL, 0, APLOG_ERR | APLOG_NOERRNO, GLOBAL(php3_rqst)->server, memory_leak_buf);
618618
# else

php4.dsp

Lines changed: 12 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)