diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-02-13 14:50:19 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-02-13 14:50:19 +0100 |
commit | 9403e8b7cc8bca5ee79355224438a03d31e2c8ae (patch) | |
tree | f24859cb6e61041302c35f9758b7025c6bc49bad /tests/slow/hash-large.c | |
parent | 7217731ed220f8a76625b5830ecb5d9d6d82a404 (diff) | |
download | gnutls-9403e8b7cc8bca5ee79355224438a03d31e2c8ae.tar.gz |
tests: eliminated mem leak in hash-large
Diffstat (limited to 'tests/slow/hash-large.c')
-rw-r--r-- | tests/slow/hash-large.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/slow/hash-large.c b/tests/slow/hash-large.c index 75a0d2529e..41c2bd5012 100644 --- a/tests/slow/hash-large.c +++ b/tests/slow/hash-large.c @@ -86,6 +86,7 @@ void doit(void) } gnutls_hash_output(td, digest); + gnutls_hash_deinit(td, NULL); if (memcmp(digest, SHA256_HASH, 32) == 0) { if (debug) success("gnutls_hash_fast(SHA256) %lu OK\n", (unsigned long)size); |