Skip to content

Commit 57e5436

Browse files
committed
fixup! Add missing call to GC_ADDREF() for function attribute hash table
1 parent db10b91 commit 57e5436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ ZEND_API void function_add_ref(zend_function *function) /* {{{ */
10511051
ZEND_ASSERT(function->type == ZEND_INTERNAL_FUNCTION);
10521052

10531053
if (function->common.attributes) {
1054-
GC_ADDREF(function->common.attributes);
1054+
GC_TRY_ADDREF(function->common.attributes);
10551055
}
10561056
}
10571057

0 commit comments

Comments
 (0)