Skip to content

Commit d3531da

Browse files
committed
releases property attributes of internal classes
1 parent 3a58f9d commit d3531da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/zend_opcode.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,9 @@ ZEND_API void destroy_zend_class(zval *zv)
447447
if (prop_info->ce == ce) {
448448
zend_string_release(prop_info->name);
449449
zend_type_release(prop_info->type, /* persistent */ 1);
450+
if (prop_info->attributes) {
451+
zend_hash_release(prop_info->attributes);
452+
}
450453
free(prop_info);
451454
}
452455
} ZEND_HASH_FOREACH_END();

0 commit comments

Comments
 (0)