char **regexes;
char *buffer;
char *regex;
- unsigned int nr;
- unsigned int i;
int compression;
long size;
dfa = GNUNET_REGEX_construct_dfa (regex, size, compression);
GNUNET_REGEX_automaton_destroy (dfa);
GNUNET_free (buffer);
- for (i=0;i<nr;i++)
- GNUNET_free_non_null (regexes[i]);
- GNUNET_array_grow (regexes, nr, 0);
+ GNUNET_REGEX_free_from_file (regexes);
return 0;
}