mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
oops
This commit is contained in:
parent
55805bcba4
commit
6f8b7ea452
@ -216,14 +216,14 @@ static void load_regexes_from_file(const char *filename)
|
||||
|
||||
|
||||
#ifdef CONFIG_FEATURE_CLEAN_UP
|
||||
static void destroy_regexes()
|
||||
static void destroy_regexes(void)
|
||||
{
|
||||
if (regexes == NULL)
|
||||
return;
|
||||
|
||||
/* destroy all the elments in the array */
|
||||
while (--nregexes >= 0) {
|
||||
regfree(regexes[nregexes]);
|
||||
regfree(&(regexes[nregexes]));
|
||||
}
|
||||
if (regexes)
|
||||
free(regexes);
|
||||
|
Loading…
Reference in New Issue
Block a user