diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-05 10:36:35 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-05 10:36:35 +0200 |
commit | 5b4c4bbe3ba5961c8cc96504c01eadecd6fa6853 (patch) | |
tree | e8763131e985733386510951e86d531cbdc25de1 /Zend/zend_attributes.c | |
parent | d3eeeb688204320c9825924bc300901470cdb87b (diff) | |
download | php-git-5b4c4bbe3ba5961c8cc96504c01eadecd6fa6853.tar.gz |
Free attribute validators on shutdown
Diffstat (limited to 'Zend/zend_attributes.c')
-rw-r--r-- | Zend/zend_attributes.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zend/zend_attributes.c b/Zend/zend_attributes.c index 12a997e72f..b9bd467acf 100644 --- a/Zend/zend_attributes.c +++ b/Zend/zend_attributes.c @@ -144,3 +144,8 @@ void zend_register_attribute_ce(void) zend_compiler_attribute_register(zend_ce_php_attribute, zend_attribute_validate_phpattribute); } + +void zend_attributes_shutdown(void) +{ + zend_hash_destroy(&internal_validators); +} |