dmitry Mon Jul 24 08:15:26 2006 UTC
Modified files: (Branch: PHP_5_2)
/ZendEngine2 zend_alloc.c
Log:
Fixed memory leaks detection
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.144.2.3.2.2&r2=1.144.2.3.2.3&diff_format=u
Index: ZendEngine2/zend_alloc.c
diff -u ZendEngine2/zend_alloc.c:1.144.2.3.2.2
ZendEngine2/zend_alloc.c:1.144.2.3.2.3
--- ZendEngine2/zend_alloc.c:1.144.2.3.2.2 Tue Jul 18 15:41:58 2006
+++ ZendEngine2/zend_alloc.c Mon Jul 24 08:15:26 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_alloc.c,v 1.144.2.3.2.2 2006/07/18 15:41:58 tony2001 Exp $ */
+/* $Id: zend_alloc.c,v 1.144.2.3.2.3 2006/07/24 08:15:26 dmitry Exp $ */
#include "zend.h"
#include "zend_alloc.h"
@@ -667,7 +667,7 @@
} else if (p->magic == MEM_BLOCK_CACHED) {
/* skip it */
#endif
- } else {
+ } else if (p->magic != MEM_BLOCK_LEAK) {
zend_mm_panic("zend_mm_heap corrupted");
}
}
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|