Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upprotect call inside Rcpp::Environment<>::namespace_env() #1010
Conversation
|
LGTM! It looks like there are a number of places where we fail to protect the created call, so we might want to audit all of those usages and try to fix them up. |
|
Quick
|
|
There are also a couple cases where we use We should likely pull those out and protect those as well. |
|
We could split those two tasks between us :) |
ScalarLogical() does not allocate
|
No 'change to worse' in reverse depends: RcppCore/rcpp-logs@d855acb so merging. |
The result of
Rf_lang2()is not protected so might be deleted by a garbage collection further down the line.