Skip to content

Commit

Permalink
separate UNPROTECT()?
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Jul 22, 2024
1 parent cd2b429 commit 9e607cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rbindlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ SEXP rbindlist(SEXP l, SEXP usenamesArg, SEXP fillArg, SEXP idcolArg)
}
}
}
UNPROTECT(2 + nprotect); // ans, ansNames, coercedForFactor?
UNPROTECT(nprotect); // coercedForFactor?
UNPROTECT(2); // ans, ansNames
return(ans);
}

0 comments on commit 9e607cd

Please sign in to comment.