Skip to content

Commit bbb2669

Browse files
committed
Just use GC_ADDREF
1 parent b442b69 commit bbb2669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo/pdo_stmt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,7 @@ bool pdo_stmt_setup_fetch_mode(pdo_stmt_t *stmt, zend_long mode, uint32_t mode_a
17861786
return false;
17871787
}
17881788

1789-
GC_TRY_ADDREF(Z_OBJ(args[0]));
1789+
GC_ADDREF(Z_OBJ(args[0]));
17901790
stmt->fetch.into = Z_OBJ(args[0]);
17911791
break;
17921792
default:

0 commit comments

Comments
 (0)