cvs: ZendEngine2 / zend_alloc.c

From: Date: Mon, 24 Jul 2006 08:15:42 +0000
Subject: cvs: ZendEngine2 / zend_alloc.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5122@lists.php.net to get a copy of this message
dmitry Mon Jul 24 08:15:42 2006 UTC Modified files: /ZendEngine2 zend_alloc.c Log: Fixed memory leaks detection http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_alloc.c?r1=1.153&r2=1.154&diff_format=u Index: ZendEngine2/zend_alloc.c diff -u ZendEngine2/zend_alloc.c:1.153 ZendEngine2/zend_alloc.c:1.154 --- ZendEngine2/zend_alloc.c:1.153 Tue Jul 18 15:41:47 2006 +++ ZendEngine2/zend_alloc.c Mon Jul 24 08:15:42 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_alloc.c,v 1.153 2006/07/18 15:41:47 tony2001 Exp $ */ +/* $Id: zend_alloc.c,v 1.154 2006/07/24 08:15:42 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 (#5122) next »