diff --git a/cran-comments.md b/cran-comments.md index cd3022f..3e947c7 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -3,3 +3,5 @@ - This is an update to support the new version of rxode2parse - Also fixed urls that were now invalid + +- Also fixed rxode2random extra protection issue diff --git a/src/checkmate_stub.c b/src/checkmate_stub.c index 4de2c8f..ab9b1aa 100644 --- a/src/checkmate_stub.c +++ b/src/checkmate_stub.c @@ -71,4 +71,5 @@ void qstrict0(SEXP nn, const char *what){ void qstrict(SEXP x, const char *what) { SEXP nn = PROTECT(getAttrib(x, R_NamesSymbol)); qstrict0(nn, what); + UNPROTECT(1); }