Skip to content

Commit 42df734

Browse files
committed
release 1.0.7
1 parent 5fbb6f4 commit 42df734

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

ChangeLog

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
2021-07-03 Dirk Eddelbuettel <[email protected]>
1+
2021-07-06 Dirk Eddelbuettel <[email protected]>
22

33
* DESCRIPTION (Date, Version): Release 1.0.7
44

@@ -8,6 +8,11 @@
88
* inst/bib/Rcpp.bib: Idem
99
* vignettes/pdf/*: Rebuilt
1010

11+
2021-07-05 Iñaki Ucar <[email protected]>
12+
13+
* src/barrier.cpp (Rcpp_precious_remove): Protect from call with
14+
wrong token when unloading modules compiled under earlier version
15+
1116
2021-07-02 Dirk Eddelbuettel <[email protected]>
1217

1318
* inst/include/Rcpp/r/headers.h: Update notice as January 2022

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: Rcpp
22
Title: Seamless R and C++ Integration
33
Version: 1.0.7
4-
Date: 2021-07-03
4+
Date: 2021-07-06
55
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou,
66
Nathan Russell, Inaki Ucar, Douglas Bates and John Chambers
77
Maintainer: Dirk Eddelbuettel <[email protected]>

inst/NEWS.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
\newcommand{\ghpr}{\href{https://github.com/RcppCore/Rcpp/pull/#1}{##1}}
44
\newcommand{\ghit}{\href{https://github.com/RcppCore/Rcpp/issues/#1}{##1}}
55

6-
\section{Changes in Rcpp release version 1.0.7 (2021-07-03)}{
6+
\section{Changes in Rcpp release version 1.0.7 (2021-07-06)}{
77
\itemize{
88
\item Changes in Rcpp API:
99
\itemize{

src/barrier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ SEXP Rcpp_precious_preserve(SEXP object) {
116116
}
117117
// [[Rcpp::register]]
118118
void Rcpp_precious_remove(SEXP token) {
119-
if (token == R_NilValue) {
119+
if (token == R_NilValue || TYPEOF(token) != LISTSXP) {
120120
return;
121121
}
122122
SEXP before = CAR(token);

0 commit comments

Comments
 (0)