Skip to content

Commit

Permalink
add UNPROTECT
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-schwen committed Dec 2, 2024
1 parent d217eee commit 978264b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/assign.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ static int _selfrefok(SEXP x, Rboolean checkNames, Rboolean verbose) {
// Not being an extptr is for when users construct a data.table via structure() using dput, post
// a question, and find the extptr doesn't parse so put quotes around it (for example).
// In both cases the selfref is not ok.
UNPROTECT(1);
return 0;
}
p = R_ExternalPtrAddr(v);
Expand Down

0 comments on commit 978264b

Please sign in to comment.