Skip to content

Commit eb430db

Browse files
authored
Merge pull request #133 from gene-hightower/develop
free regex resources on close
2 parents 56b22d8 + 11810c7 commit eb430db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libopenarc/arc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,10 @@ arc_init(void)
834834
void
835835
arc_close(ARC_LIB *lib)
836836
{
837+
arc_options(lib, ARC_OP_SETOPT, ARC_OPTS_SIGNHDRS,
838+
NULL, sizeof(char**));
839+
arc_options(lib, ARC_OP_SETOPT, ARC_OPTS_OVERSIGNHDRS,
840+
NULL, sizeof(char**));
837841
ARC_FREE(lib->arcl_flist);
838842
ARC_FREE(lib);
839843
}

0 commit comments

Comments
 (0)