Skip to content

Commit 06438fc

Browse files
committed
fix protection count
1 parent 4629efa commit 06438fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r/src/materialize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ SEXP nanoarrow_materialize_realloc(SEXP ptype, R_xlen_t len) {
146146
Rf_setAttrib(result, chunks_sym, chunks_list);
147147
Rf_setAttrib(result, chunks_tail_sym, chunks_list);
148148

149-
UNPROTECT(4);
149+
UNPROTECT(3);
150150
} else if (nanoarrow_ptype_is_data_frame(ptype)) {
151151
R_xlen_t num_cols = Rf_xlength(ptype);
152152
result = PROTECT(Rf_allocVector(VECSXP, num_cols));

0 commit comments

Comments
 (0)