aboutsummaryrefslogtreecommitdiff
path: root/src/regex
diff options
context:
space:
mode:
authorszengel <szengel@140774ce-b5e7-0310-ab8b-a85725594a96>2012-09-23 13:08:25 +0000
committerszengel <szengel@140774ce-b5e7-0310-ab8b-a85725594a96>2012-09-23 13:08:25 +0000
commit642cd8781b1e3dcf750079dc15d7b1bce7479927 (patch)
tree43aab2c6fe1c648e0d881a8df439889e9ab6b5d7 /src/regex
parent6cd7270ccd8cebe247bc6f038f863770724e05ea (diff)
fixed leak
git-svn-id: https://gnunet.org/svn/gnunet@23958 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/regex')
-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;