summaryrefslogtreecommitdiff
path: root/tools/tests/test-x509.c
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-20 22:20:25 +0100
committerStef Walter <stefw@gnome.org>2013-03-20 22:22:30 +0100
commit4b09d2b4d3958b58b020c1ae21fcd932e1eb6c37 (patch)
treeabba9eb25d2d7d4c9804ba56741e08e40b0fe417 /tools/tests/test-x509.c
parent57d8f36a6cfbde5a9a783f11f2b75f19005c23e1 (diff)
Fix memory leaks reported by 'make leakcheck'
Diffstat (limited to 'tools/tests/test-x509.c')
-rw-r--r--tools/tests/test-x509.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/tests/test-x509.c b/tools/tests/test-x509.c
index f3585f1..7cf9787 100644
--- a/tools/tests/test-x509.c
+++ b/tools/tests/test-x509.c
@@ -135,6 +135,7 @@ test_file (CuTest *tc)
test_check_file (tc, test.directory, "extract.cer", SRCDIR "/files/cacert3.der");
+ free (test.ex.destination);
teardown (tc);
}
@@ -166,6 +167,7 @@ test_file_multiple (CuTest *tc)
test_check_file (tc, test.directory, "extract.cer", SRCDIR "/files/cacert3.der");
+ free (test.ex.destination);
teardown (tc);
}
@@ -192,6 +194,7 @@ test_file_without (CuTest *tc)
p11_message_loud ();
+ free (test.ex.destination);
teardown (tc);
}