cvs: ZendEngine2 / zend_opcode.c

From: Date: Sun, 01 Jun 2003 17:28:52 +0000
Subject: cvs: ZendEngine2 / zend_opcode.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-1295@lists.php.net to get a copy of this message
helly Sun Jun 1 13:28:52 2003 EDT Modified files: /ZendEngine2 zend_opcode.c Log: Bugfix #23670: implements and extends cause Apache 2 crash Index: ZendEngine2/zend_opcode.c diff -u ZendEngine2/zend_opcode.c:1.89 ZendEngine2/zend_opcode.c:1.90 --- ZendEngine2/zend_opcode.c:1.89 Fri Apr 18 14:40:53 2003 +++ ZendEngine2/zend_opcode.c Sun Jun 1 13:28:52 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_opcode.c,v 1.89 2003/04/18 18:40:53 sterling Exp $ */ +/* $Id: zend_opcode.c,v 1.90 2003/06/01 17:28:52 helly Exp $ */ #include <stdio.h> @@ -156,7 +156,7 @@ FREE_HASHTABLE(ce->static_members); zend_hash_destroy(&ce->constants_table); zend_hash_destroy(&ce->class_table); - if (ce->num_interfaces > 0) { + if (ce->num_interfaces > 0 && ce->interfaces) { efree(ce->interfaces); } if (ce->doc_comment) {

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