From 3a3a7c2a675408ac8b8517d22310b0716c9fb788 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Mon, 1 Apr 2024 15:52:35 -0400 Subject: [PATCH] Forgot to clean up the preTBS. --- tests/api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/api.c b/tests/api.c index 1a48be2c5..a6942b391 100644 --- a/tests/api.c +++ b/tests/api.c @@ -947,6 +947,7 @@ static int do_dual_alg_root_certgen(byte **out, char *caKeyFile, *out = outBuf; wc_FreeRsaKey(&caKey); wc_FreeRng(&rng); + wc_FreeDecodedCert(&preTBS); return outSz; }