Skip to content

Commit

Permalink
#207: Resource leak
Browse files Browse the repository at this point in the history
  • Loading branch information
kkos committed Sep 21, 2020
1 parent 82c86cf commit 86545c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_regset.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ time_test(int repeat, int n, char* ps[], char* s, char* end, double* rt_set, dou
ONIG_REGSET_POSITION_LEAD, ONIG_OPTION_NONE, &match_pos);
if (r < 0) {
fprintf(stderr, "FAIL onig_regset_search(POSITION_LEAD): %d\n", r);
onig_regset_free(set);
return r;
}
}
Expand Down

0 comments on commit 86545c2

Please sign in to comment.