[git] GCRYPT - branch, master, updated. libgcrypt-1.7.3-17-g5530a82

by Justus Winter cvs at cvs.gnupg.org
Fri Nov 25 09:41:33 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  5530a8234d703ce9b685f78fb6e951136eb0aeb2 (commit)
      from  1a67e3195896704f8b3ba09e3db1214bab834491 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5530a8234d703ce9b685f78fb6e951136eb0aeb2
Author: Justus Winter <justus at g10code.com>
Date:   Fri Nov 25 09:38:51 2016 +0100

    tests: Fix memory leak.
    
    * tests/basic.c (check_gost28147_cipher): Free cipher handles.
    
    Fixes-commit: 4f5c26c73c66daf2e4aff966e43c22b2db7e0138
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/tests/basic.c b/tests/basic.c
index 7f7bce3..b6f4f4b 100644
--- a/tests/basic.c
+++ b/tests/basic.c
@@ -4033,6 +4033,9 @@ check_gost28147_cipher (void)
             mismatch (tv[i].plaintext, tv[i].inlen,
                       out, tv[i].inlen);
           }
+
+        gcry_cipher_close (hde);
+        gcry_cipher_close (hdd);
     }
 
 #endif

-----------------------------------------------------------------------

Summary of changes:
 tests/basic.c | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org


_______________________________________________
Gnupg-commits mailing list
Gnupg-commits at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-commits




More information about the Gcrypt-devel mailing list