We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05023a2 commit fdae096Copy full SHA for fdae096
Zend/zend_opcode.c
@@ -153,6 +153,12 @@ ZEND_API void zend_function_dtor(zval *zv)
153
ZEND_ASSERT(function->common.function_name);
154
zend_string_release_ex(function->common.function_name, 1);
155
156
+ if (function->common.attributes) {
157
+ zend_hash_destroy(function->common.attributes);
158
+ free(function->common.attributes);
159
+ function->common.attributes = NULL;
160
+ }
161
+
162
/* For methods this will be called explicitly. */
163
if (!function->common.scope) {
164
zend_free_internal_arg_info(&function->internal_function);
0 commit comments