cvs: ZendEngine2 / zend_compile.c

From: Date: Wed, 29 Jan 2003 14:25:53 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-852@lists.php.net to get a copy of this message
stas Wed Jan 29 09:25:53 2003 EDT Modified files: /ZendEngine2 zend_compile.c Log: fix memory leak Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.350 ZendEngine2/zend_compile.c:1.351 --- ZendEngine2/zend_compile.c:1.350 Tue Jan 28 06:34:24 2003 +++ ZendEngine2/zend_compile.c Wed Jan 29 09:25:53 2003 @@ -2202,6 +2202,7 @@ if (CG(access_type) & ZEND_ACC_STATIC) { /* FIXME: Currently, ignores access type for static variables */ zend_hash_update(CG(active_class_entry)->static_members, var_name->u.constant.value.str.val, var_name->u.constant.value.str.len+1, &property, sizeof(zval *), NULL); + FREE_PNODE(var_name); return; }

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