diff options
author | Justus Winter <justus@g10code.com> | 2016-07-01 09:47:48 +0200 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2016-07-01 09:47:48 +0200 |
commit | 6bfbc368f90b274192d3751274816091675f5109 (patch) | |
tree | 981bcc1734373848828a74856729e6318782d0cb /g10/t-stutter.c | |
parent | tools: Fix trivial memory leak. (diff) | |
download | gnupg2-6bfbc368f90b274192d3751274816091675f5109.tar.xz gnupg2-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 <justus@g10code.com>
Diffstat (limited to '')
-rw-r--r-- | g10/t-stutter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/t-stutter.c b/g10/t-stutter.c index 9576027a3..f3fc65330 100644 --- a/g10/t-stutter.c +++ b/g10/t-stutter.c @@ -606,5 +606,6 @@ main (int argc, char *argv[]) log_fatal ("Message is too short, nothing to test.\n"); } + xfree (filename); return failed; } |