Skip to content

Commit

Permalink
Merge pull request #581 from SebKrantz/development
Browse files Browse the repository at this point in the history
Need to free h, fixes #580.
  • Loading branch information
SebKrantz committed May 22, 2024
2 parents ec31d47 + c0e292d commit dbe12dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/match.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ SEXP match_two_vectors(SEXP x, SEXP table, SEXP nomatch) {
} else error("Unsupported types: %s and %s", type2char(t1), type2char(t2));
}

Free(h);
UNPROTECT(nprotect);
return ans;
}
Expand Down

0 comments on commit dbe12dd

Please sign in to comment.