cvs: ZendEngine2 / zend_API.h

From: Date: Tue, 02 Dec 2003 07:09:46 +0000
Subject: cvs: ZendEngine2 / zend_API.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2045@lists.php.net to get a copy of this message
helly Tue Dec 2 02:09:46 2003 EDT Modified files: /ZendEngine2 zend_API.h Log: Free the zval container only if it should be freed and was not copied. Index: ZendEngine2/zend_API.h diff -u ZendEngine2/zend_API.h:1.171 ZendEngine2/zend_API.h:1.172 --- ZendEngine2/zend_API.h:1.171 Sat Nov 29 13:23:35 2003 +++ ZendEngine2/zend_API.h Tue Dec 2 02:09:46 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.h,v 1.171 2003/11/29 18:23:35 helly Exp $ */ +/* $Id: zend_API.h,v 1.172 2003/12/02 07:09:46 helly Exp $ */ #ifndef ZEND_API_H #define ZEND_API_H @@ -386,6 +386,9 @@ zval_copy_ctor(z); \ } \ if (dtor) { \ + if (!copy) { \ + ZVAL_NULL(zv); \ + } \ zval_ptr_dtor(&zv); \ } \ (z)->is_ref = is_ref; \

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