File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 32
32
#include "zend_smart_str.h"
33
33
#include "zend_smart_string.h"
34
34
#include "zend_cpuinfo.h"
35
+ #include "zend_attributes.h"
35
36
36
37
static size_t global_map_ptr_last = 0 ;
37
38
@@ -1077,6 +1078,7 @@ void zend_shutdown(void) /* {{{ */
1077
1078
zend_hash_destroy (GLOBAL_CONSTANTS_TABLE );
1078
1079
free (GLOBAL_CONSTANTS_TABLE );
1079
1080
zend_shutdown_strtod ();
1081
+ zend_attributes_shutdown ();
1080
1082
1081
1083
#ifdef ZTS
1082
1084
GLOBAL_FUNCTION_TABLE = NULL ;
Original file line number Diff line number Diff line change @@ -144,3 +144,8 @@ void zend_register_attribute_ce(void)
144
144
145
145
zend_compiler_attribute_register (zend_ce_php_attribute , zend_attribute_validate_phpattribute );
146
146
}
147
+
148
+ void zend_attributes_shutdown (void )
149
+ {
150
+ zend_hash_destroy (& internal_validators );
151
+ }
Original file line number Diff line number Diff line change @@ -65,5 +65,6 @@ static zend_always_inline zend_attribute *zend_add_class_constant_attribute(zend
65
65
}
66
66
67
67
void zend_register_attribute_ce (void );
68
+ void zend_attributes_shutdown (void );
68
69
69
70
#endif
You can’t perform that action at this time.
0 commit comments