diff options
Diffstat (limited to 'src/regex/test_regex_eval_api.c')
-rw-r--r-- | src/regex/test_regex_eval_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/test_regex_eval_api.c b/src/regex/test_regex_eval_api.c index 767571156..7cd081269 100644 --- a/src/regex/test_regex_eval_api.c +++ b/src/regex/test_regex_eval_api.c | |||
@@ -178,9 +178,9 @@ test_random (unsigned int rx_length, unsigned int max_str_len, | |||
178 | return result; | 178 | return result; |
179 | 179 | ||
180 | error: | 180 | error: |
181 | GNUNET_free_non_null (matching_str); | 181 | GNUNET_free (matching_str); |
182 | GNUNET_free_non_null (rand_rx); | 182 | GNUNET_free (rand_rx); |
183 | GNUNET_free_non_null (canonical_regex); | 183 | GNUNET_free (canonical_regex); |
184 | return -1; | 184 | return -1; |
185 | } | 185 | } |
186 | 186 | ||
@@ -371,7 +371,7 @@ main (int argc, char *argv[]) | |||
371 | REGEX_INTERNAL_automaton_destroy (a); | 371 | REGEX_INTERNAL_automaton_destroy (a); |
372 | if (0 != check_dfa) | 372 | if (0 != check_dfa) |
373 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "check_proof: %s\n", check_proof); | 373 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "check_proof: %s\n", check_proof); |
374 | GNUNET_free_non_null (check_proof); | 374 | GNUNET_free (check_proof); |
375 | 375 | ||
376 | regfree (&rx); | 376 | regfree (&rx); |
377 | } | 377 | } |