Fix multiple memory leaks with regular expressions.

This commit is contained in:
Ingo Bürk
2015-10-28 14:39:23 +01:00
parent 3295e05089
commit 27db61f504
4 changed files with 10 additions and 9 deletions

View File

@ -64,6 +64,7 @@ void regex_free(struct regex *regex) {
FREE(regex->pattern);
FREE(regex->regex);
FREE(regex->extra);
FREE(regex);
}
/*