git: 442a29361146 - main - cryptocheck: Free generated IV after each GMAC test.

John Baldwin jhb at FreeBSD.org
Wed Mar 3 23:21:23 UTC 2021


The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=442a293611461834778d1b7cd2ac170fb3427dcf

commit 442a293611461834778d1b7cd2ac170fb3427dcf
Author:     John Baldwin <jhb at FreeBSD.org>
AuthorDate: 2021-03-03 23:17:19 +0000
Commit:     John Baldwin <jhb at FreeBSD.org>
CommitDate: 2021-03-03 23:20:57 +0000

    cryptocheck: Free generated IV after each GMAC test.
    
    Reviewed by:    cem
    Sponsored by:   Netflix
    Differential Revision:  https://reviews.freebsd.org/D28753
---
 tools/tools/crypto/cryptocheck.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/tools/crypto/cryptocheck.c b/tools/tools/crypto/cryptocheck.c
index 389d0cc9f610..bd075d24e0f5 100644
--- a/tools/tools/crypto/cryptocheck.c
+++ b/tools/tools/crypto/cryptocheck.c
@@ -1141,6 +1141,7 @@ run_gmac_test(const struct alg *alg, size_t size)
 
 out:
 	free(buffer);
+	free(iv);
 	free(key);
 }
 


More information about the dev-commits-src-all mailing list