cvs: ZendEngine2(PHP_5_2) / zend_alloc.c

From: Date: Mon, 24 Jul 2006 08:15:26 +0000
Subject: cvs: ZendEngine2(PHP_5_2) / zend_alloc.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5121@lists.php.net to get a copy of this message
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"); } }

« previous php.zend-engine.cvs (#5121) next »