Commit 6bfbc368 authored by Justus Winter's avatar Justus Winter

Fix trivial memory leaks in tests.

* dirmngr/t-ldap-parse-uri.c (check_ldap_escape_filter): Free result.
* g10/t-stutter.c (main): Free file name.
Signed-off-by: 's avatarJustus Winter <>
parent 8f39185d
......@@ -222,6 +222,8 @@ check_ldap_escape_filter (int test_count, struct test_ldap_escape_filter *test)
test->filter, result, test->result);
fail (test_count * 1000);
xfree (result);
static void
......@@ -606,5 +606,6 @@ main (int argc, char *argv[])
log_fatal ("Message is too short, nothing to test.\n");
xfree (filename);
return failed;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment