git: 29af3bc12dd7 - stable/13 - cryptocheck: Free generated IV after each GMAC test.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 21 Oct 2021 17:06:55 UTC
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=29af3bc12dd76a4a83556634e400e8f047ea679a

commit 29af3bc12dd76a4a83556634e400e8f047ea679a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-03-03 23:17:19 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-10-21 15:51:23 +0000

    cryptocheck: Free generated IV after each GMAC test.
    
    Reviewed by:    cem
    Sponsored by:   Netflix
    Differential Revision:  https://reviews.freebsd.org/D28753
    
    (cherry picked from commit 442a293611461834778d1b7cd2ac170fb3427dcf)
---
 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);
 }