From: Marcus Boerger Date: Sun, 1 Jun 2003 17:28:52 +0000 (+0000) Subject: Bugfix #23670: implements and extends cause Apache 2 crash X-Git-Tag: RELEASE_1_0_2~470 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a023c1034b16f017e8e8cdbdeda48fd360fcdb53;p=php Bugfix #23670: implements and extends cause Apache 2 crash --- diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index af9ff1450e..5bb264bb45 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -156,7 +156,7 @@ ZEND_API void destroy_zend_class(zend_class_entry **pce) 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) {