diff options
author | Justus Winter <[email protected]> | 2016-07-01 07:47:48 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-07-01 07:47:48 +0000 |
commit | 6bfbc368f90b274192d3751274816091675f5109 (patch) | |
tree | 981bcc1734373848828a74856729e6318782d0cb /dirmngr/t-ldap-parse-uri.c | |
parent | tools: Fix trivial memory leak. (diff) | |
download | gnupg-6bfbc368f90b274192d3751274816091675f5109.tar.gz gnupg-6bfbc368f90b274192d3751274816091675f5109.zip |
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: Justus Winter <[email protected]>
Diffstat (limited to 'dirmngr/t-ldap-parse-uri.c')
-rw-r--r-- | dirmngr/t-ldap-parse-uri.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/t-ldap-parse-uri.c b/dirmngr/t-ldap-parse-uri.c index 100ce0de8..145b47ab9 100644 --- a/dirmngr/t-ldap-parse-uri.c +++ b/dirmngr/t-ldap-parse-uri.c @@ -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 |