summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2015-02-27 17:24:49 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2015-02-27 17:24:49 +0900
commit505decf5369970219ddc9e78a20f97c623957b78 (patch)
tree23d3fd03b90022cb743ce97ab101c36aeda042fd /tests
parent6636c4fd0c6ceab9f79827bf96967d1e112c0b82 (diff)
downloadlibgcrypt-505decf5369970219ddc9e78a20f97c623957b78.tar.gz
tests: fix t-sexp.c.
* tests/t-sexp.c (bug_1594): Free N and PUBKEY.
Diffstat (limited to 'tests')
-rw-r--r--tests/t-sexp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/t-sexp.c b/tests/t-sexp.c
index 10517232..4785b17d 100644
--- a/tests/t-sexp.c
+++ b/tests/t-sexp.c
@@ -1045,6 +1045,8 @@ static char thing[] =
if (gcry_sexp_nth (n_val, 1))
fail ("extracting 1-th of car of 'n' list did not fail");
gcry_sexp_release (n_val);
+ gcry_sexp_release (n);
+ gcry_sexp_release (pubkey);
}