Skip to content

Commit

Permalink
Merge pull request trusteddomainproject#133 from gene-hightower/develop
Browse files Browse the repository at this point in the history
free regex resources on close
  • Loading branch information
martinbogo authored Oct 16, 2020
2 parents 56b22d8 + 11810c7 commit eb430db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libopenarc/arc.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,10 @@ arc_init(void)
void
arc_close(ARC_LIB *lib)
{
arc_options(lib, ARC_OP_SETOPT, ARC_OPTS_SIGNHDRS,
NULL, sizeof(char**));
arc_options(lib, ARC_OP_SETOPT, ARC_OPTS_OVERSIGNHDRS,
NULL, sizeof(char**));
ARC_FREE(lib->arcl_flist);
ARC_FREE(lib);
}
Expand Down

0 comments on commit eb430db

Please sign in to comment.