From 3b037ebbe9709583f87b7f922337174a9a8034cb Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sat, 10 Jul 1999 22:50:44 +0000 Subject: [PATCH] Oh, that dumb bug. --- Zend/zend_alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 52cb641b98e..3f7e16904e7 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -378,7 +378,8 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache) } t->reported = 1; for (iterator=t->pNext; iterator; iterator=iterator->pNext) { - if (iterator->filename==t->filename + if (!iterator->cached + && iterator->filename==t->filename && iterator->lineno==t->lineno) { total_leak += iterator->size; total_leak_count++;