mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #76754 (parent private constant in extends class memory leak)
This commit is contained in:
parent
64c88c1e16
commit
04c4854fdf
3 changed files with 21 additions and 1 deletions
|
@ -296,8 +296,8 @@ ZEND_API void destroy_zend_class(zval *zv)
|
|||
}
|
||||
}
|
||||
} ZEND_HASH_FOREACH_END();
|
||||
zend_hash_destroy(&ce->constants_table);
|
||||
}
|
||||
zend_hash_destroy(&ce->constants_table);
|
||||
if (ce->num_interfaces > 0 && ce->interfaces) {
|
||||
efree(ce->interfaces);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue