Skip to content

Commit a4678c0

Browse files
committed
Revert "Add missing call to GC_TRY_ADDREF() for function attribute hash table"
This reverts commit 5e8adfb.
1 parent bbfdc17 commit a4678c0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Zend/zend_compile.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,12 +1047,6 @@ ZEND_API void function_add_ref(zend_function *function) /* {{{ */
10471047

10481048
ZEND_MAP_PTR_INIT(op_array->run_time_cache, NULL);
10491049
ZEND_MAP_PTR_INIT(op_array->static_variables_ptr, NULL);
1050-
} else {
1051-
ZEND_ASSERT(function->type == ZEND_INTERNAL_FUNCTION);
1052-
1053-
if (function->common.attributes) {
1054-
GC_TRY_ADDREF(function->common.attributes);
1055-
}
10561050
}
10571051

10581052
if (function->common.function_name) {

0 commit comments

Comments
 (0)