cvs: ZendEngine2 / zend_compile.c

From: Date: Tue, 24 Sep 2002 19:32:02 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-451@lists.php.net to get a copy of this message
andi Tue Sep 24 15:32:02 2002 EDT Modified files: /ZendEngine2 zend_compile.c Log: - Fix leak Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.308 ZendEngine2/zend_compile.c:1.309 --- ZendEngine2/zend_compile.c:1.308 Tue Sep 24 15:05:52 2002 +++ ZendEngine2/zend_compile.c Tue Sep 24 15:32:01 2002 @@ -1678,13 +1678,13 @@ ce = *pce; } - ce->refcount++; - zend_do_inheritance(ce, parent_ce); if (strchr(opline->op2.u.constant.value.str.val, ':')) { return create_nested_class(class_table, opline->op2.u.constant.value.str.val, ce); } + + ce->refcount++; /* Register the derived class */ if (zend_hash_add(class_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.str.len+1, pce, sizeof(zend_class_entry *), NULL)==FAILURE) {

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