diff options
author | bartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-19 19:31:47 +0000 |
---|---|---|
committer | bartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-19 19:31:47 +0000 |
commit | 06677babacf04ee61a8624a9bad51664ba0296f8 (patch) | |
tree | d74cefbbd5e519f45045600b41745f9664350b90 /src/regex/perf-regex.c | |
parent | f2c48f51429b439b4fa39e0d1fbd01385355a8ad (diff) |
- use API free
git-svn-id: https://gnunet.org/svn/gnunet@25564 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/regex/perf-regex.c')
-rw-r--r-- | src/regex/perf-regex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regex/perf-regex.c b/src/regex/perf-regex.c index 9f510b154e..4b52423249 100644 --- a/src/regex/perf-regex.c +++ b/src/regex/perf-regex.c @@ -82,9 +82,7 @@ main (int argc, char *const *argv) dfa = GNUNET_REGEX_construct_dfa (regex, size, compression); GNUNET_REGEX_automaton_destroy (dfa); GNUNET_free (buffer); - for (i=0;NULL != regexes[i];i++) - GNUNET_free_non_null (regexes[i]); - GNUNET_free (regexes); + GNUNET_REGEX_free_from_file (regexes); return 0; } |