diff options
author | Zeev Suraski <zeev@php.net> | 1999-07-10 22:50:44 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-07-10 22:50:44 +0000 |
commit | 3b037ebbe9709583f87b7f922337174a9a8034cb (patch) | |
tree | 7d7905d3ec08827f48f205a2efe53d5255c220ac /Zend/zend_alloc.c | |
parent | 44947bf563f48b81194ffabbdcf6553a4b0d4c67 (diff) | |
download | php-git-3b037ebbe9709583f87b7f922337174a9a8034cb.tar.gz |
Oh, that dumb bug.
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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++; |