Skip to content

Commit 0b021c9

Browse files
committed
Missing UNPROTECT in push_back_name__impl
1 parent b831ed3 commit 0b021c9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ChangeLog

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
2014-01-19 Kevin Ushey <[email protected]>
2+
3+
* inst/include/Rcpp/api/meat/Vector.h: Add missing UNPROTECT in
4+
push_back_name__impl
5+
16
2014-01-18 Kevin Ushey <[email protected]>
27

3-
* inst/unitTests/runit.S4.R: Add a test for ctor from slot proxy
4-
* inst/unitTests/cpp/S4.cpp: Add a test for ctor from slot proxy
8+
* inst/unitTests/runit.S4.R: Add a test for ctor from slot proxy
9+
* inst/unitTests/cpp/S4.cpp: Add a test for ctor from slot proxy
510
* inst/include/Rcpp/vector/Vector.h: Add missing r_cast to vector
611
ctor from proxy
712

inst/include/Rcpp/api/meat/Vector.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ namespace Rcpp{
368368
*target_it = *it ;
369369
SET_STRING_ELT( newnames, i , dummy );
370370
}
371+
UNPROTECT(1);
371372
} else {
372373
for( ; it < this_end; ++it, ++target_it, i++ ){
373374
*target_it = *it ;

0 commit comments

Comments
 (0)