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.c | |
parent | d3eeeb688204320c9825924bc300901470cdb87b (diff) | |
download | php-git-5b4c4bbe3ba5961c8cc96504c01eadecd6fa6853.tar.gz |
Free attribute validators on shutdown
Diffstat (limited to 'Zend/zend.c')
-rw-r--r-- | Zend/zend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 0303e99b60..8a2bbf35dd 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -32,6 +32,7 @@ #include "zend_smart_str.h" #include "zend_smart_string.h" #include "zend_cpuinfo.h" +#include "zend_attributes.h" static size_t global_map_ptr_last = 0; @@ -1077,6 +1078,7 @@ void zend_shutdown(void) /* {{{ */ zend_hash_destroy(GLOBAL_CONSTANTS_TABLE); free(GLOBAL_CONSTANTS_TABLE); zend_shutdown_strtod(); + zend_attributes_shutdown(); #ifdef ZTS GLOBAL_FUNCTION_TABLE = NULL; |