Skip to content

Commit 9f02a11

Browse files
nielsdoscmb69
authored andcommitted
Fix incorrect UNEXPECTED paren placement in zend_gc.c
Closes GH-10371.
1 parent cfa2311 commit 9f02a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ static zend_never_inline void ZEND_FASTCALL gc_possible_root_when_full(zend_refc
591591
if (GC_G(gc_enabled) && !GC_G(gc_active)) {
592592
GC_ADDREF(ref);
593593
gc_adjust_threshold(gc_collect_cycles());
594-
if (UNEXPECTED(GC_DELREF(ref)) == 0) {
594+
if (UNEXPECTED(GC_DELREF(ref) == 0)) {
595595
rc_dtor_func(ref);
596596
return;
597597
} else if (UNEXPECTED(GC_INFO(ref))) {

0 commit comments

Comments
 (0)