cvs: ZendEngine2 / zend_alloc.c
| From: | Marcus Boerger | Date: | Wed, 20 Aug 2003 22:15:01 +0000 |
| Subject: | cvs: ZendEngine2 / zend_alloc.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1651@lists.php.net to get a copy of this message | ||
helly Wed Aug 20 18:15:01 2003 EDT
Modified files:
/ZendEngine2 zend_alloc.c
Log:
Fix counting number of leaks
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.121 ZendEngine2/zend_alloc.c:1.122
--- ZendEngine2/zend_alloc.c:1.121 Mon Aug 18 18:31:11 2003
+++ ZendEngine2/zend_alloc.c Wed Aug 20 18:15:01 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_alloc.c,v 1.121 2003/08/18 22:31:11 zeev Exp $ */
+/* $Id: zend_alloc.c,v 1.122 2003/08/20 22:15:01 helly Exp $ */
#include "zend.h"
#include "zend_alloc.h"
@@ -548,6 +548,7 @@
if (!silent && total_leak_count>0) {
zend_message_dispatcher(ZMSG_MEMORY_LEAK_REPEATED, (void *) (long) (total_leak_count));
}
+ grand_total_leaks += total_leak_count;
}
#endif
#if MEMORY_LIMIT