Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2021 23:21:23 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 442a29361146 - main - cryptocheck: Free generated IV after each GMAC test.
Message-ID:  <202103032321.123NLNre093489@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

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

commit 442a293611461834778d1b7cd2ac170fb3427dcf
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-03-03 23:17:19 +0000
Commit:     John Baldwin <jhb@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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103032321.123NLNre093489>