From 442a293611461834778d1b7cd2ac170fb3427dcf Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 3 Mar 2021 15:17:19 -0800 Subject: [PATCH] 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); }