aboutsummaryrefslogtreecommitdiffstats
path: root/g10/t-stutter.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-07-01 07:47:48 +0000
committerJustus Winter <[email protected]>2016-07-01 07:47:48 +0000
commit6bfbc368f90b274192d3751274816091675f5109 (patch)
tree981bcc1734373848828a74856729e6318782d0cb /g10/t-stutter.c
parenttools: Fix trivial memory leak. (diff)
downloadgnupg-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 'g10/t-stutter.c')
-rw-r--r--g10/t-stutter.c1
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;
}