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:48 +0100 |
commit | 2bb6e5f5215e3164214788ab294cf9b13b85af8d (patch) | |
tree | 28286493faa47673db4e232c770c2866a84145a7 /tests/slow | |
parent | b22bd5741f6f7897d313b01f8a23b7ae425d0c1e (diff) | |
download | gnutls-2bb6e5f5215e3164214788ab294cf9b13b85af8d.tar.gz |
tests: eliminated mem leak in hash-large
Diffstat (limited to 'tests/slow')
-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); |