mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Bugfix #23670: implements and extends cause Apache 2 crash
This commit is contained in:
parent
9211aed984
commit
a023c1034b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user