aboutsummaryrefslogtreecommitdiff
path: root/src/regex/perf-regex.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-12-19 14:42:48 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-12-19 14:42:48 +0000
commitce1b5a3b1a76f42978db52fc069eee9b5d146214 (patch)
tree9da764b40efee8037c7635b03e02064cd4302abd /src/regex/perf-regex.c
parentdb0e257d7156dd6d294adf7c56754500d3478ce4 (diff)
-fixes
git-svn-id: https://gnunet.org/svn/gnunet@25553 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/regex/perf-regex.c')
-rw-r--r--src/regex/perf-regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/perf-regex.c b/src/regex/perf-regex.c
index 49a50cb8a9..9f510b154e 100644
--- a/src/regex/perf-regex.c
+++ b/src/regex/perf-regex.c
@@ -82,9 +82,9 @@ 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;i<nr;i++)
+ for (i=0;NULL != regexes[i];i++)
GNUNET_free_non_null (regexes[i]);
- GNUNET_array_grow (regexes, nr, 0);
+ GNUNET_free (regexes);
return 0;
}