diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2015-02-27 17:24:49 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2015-02-27 17:24:49 +0900 |
commit | 505decf5369970219ddc9e78a20f97c623957b78 (patch) | |
tree | 23d3fd03b90022cb743ce97ab101c36aeda042fd | |
parent | 6636c4fd0c6ceab9f79827bf96967d1e112c0b82 (diff) | |
download | libgcrypt-505decf5369970219ddc9e78a20f97c623957b78.tar.gz |
tests: fix t-sexp.c.
* tests/t-sexp.c (bug_1594): Free N and PUBKEY.
-rw-r--r-- | tests/t-sexp.c | 2 |
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); } |