Skip to content

Commit 996e7c6

Browse files
Update src/rbindlist.c
Co-authored-by: Benjamin Schwendinger <[email protected]>
1 parent 80a62f9 commit 996e7c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rbindlist.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ SEXP rbindlist(SEXP l, SEXP usenamesArg, SEXP fillArg, SEXP idcolArg, SEXP ignor
131131

132132
int *colMapRaw = malloc(sizeof(*colMapRaw) * LENGTH(l)*ncol); // the result of this scope used later
133133
int *uniqMap = malloc(sizeof(*uniqMap) * ncol); // maps the ith unique string to the first time it occurs in the final result
134-
int* dupLink = malloc(sizeof(*dupLink) * ncol); // if a colname has occurred before (a dup) links from the 1st to the 2nd time in the final result, 2nd to 3rd, etc
134+
int *dupLink = malloc(sizeof(*dupLink) * ncol); // if a colname has occurred before (a dup) links from the 1st to the 2nd time in the final result, 2nd to 3rd, etc
135+
``` typo
135136
if (!colMapRaw || !uniqMap || !dupLink) {
136137
// # nocov start
137138
for (int i=0; i<nuniq; ++i) SET_TRUELENGTH(uniq[i], 0);

0 commit comments

Comments
 (0)