We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9691739 commit 94167f2Copy full SHA for 94167f2
src/mergelist.c
@@ -65,14 +65,14 @@ SEXP cbindlist(SEXP x, SEXP copyArg) {
65
mergeIndexAttrib(index, getAttrib(thisx, sym_index));
66
if (isNull(key)) // first key is retained
67
key = getAttrib(thisx, sym_sorted);
68
- UNPROTECT(protecti);
+ UNPROTECT(protecti); // thisnames, thisxcol
69
}
70
if (isNull(ATTRIB(index)))
71
setAttrib(ans, sym_index, R_NilValue);
72
setAttrib(ans, R_NamesSymbol, names);
73
setAttrib(ans, sym_sorted, key);
74
if (verbose)
75
Rprintf(_("cbindlist: took %.3fs\n"), omp_get_wtime()-tic);
76
- UNPROTECT(3);
+ UNPROTECT(3); // ans, index, names
77
return ans;
78
0 commit comments