From: Zeev Suraski Date: Sat, 10 Jul 1999 22:50:44 +0000 (+0000) Subject: Oh, that dumb bug. X-Git-Tag: php-4.0b1~160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b037ebbe9709583f87b7f922337174a9a8034cb;p=php Oh, that dumb bug. --- diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 52cb641b98..3f7e16904e 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++;