aboutsummaryrefslogtreecommitdiff
path: root/src/regex/test_regex_eval_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/test_regex_eval_api.c')
-rw-r--r--src/regex/test_regex_eval_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regex/test_regex_eval_api.c b/src/regex/test_regex_eval_api.c
index 35eef6d29e..98d354bdb8 100644
--- a/src/regex/test_regex_eval_api.c
+++ b/src/regex/test_regex_eval_api.c
@@ -162,12 +162,11 @@ test_random (unsigned int rx_length, unsigned int max_str_len,
eval, eval_check, eval_canonical, eval_canonical_check, error);
result += 1;
}
-
+ GNUNET_free (canonical_regex);
GNUNET_free (matching_str);
}
GNUNET_free (rand_rx);
- GNUNET_free (canonical_regex);
return result;