Fix multiple memory leaks with regular expressions.
This commit is contained in:
@ -64,6 +64,7 @@ void regex_free(struct regex *regex) {
|
||||
FREE(regex->pattern);
|
||||
FREE(regex->regex);
|
||||
FREE(regex->extra);
|
||||
FREE(regex);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user