From f71194b839f5cec1500f93a9336b699bf5a40b38 Mon Sep 17 00:00:00 2001 From: Ruby Martin Date: Thu, 20 Aug 2026 16:31:04 -0600 Subject: [PATCH] Free the i2d output buffer in test_wc_PKCS12DecisionCoverage --- tests/api/test_pkcs12.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/api/test_pkcs12.c b/tests/api/test_pkcs12.c index 9276db77c2..7e8c899d96 100644 --- a/tests/api/test_pkcs12.c +++ b/tests/api/test_pkcs12.c @@ -1133,6 +1133,7 @@ int test_wc_PKCS12DecisionCoverage(void) if (ca != NULL) wc_FreeCertList(ca, NULL); } + XFREE(out, NULL, DYNAMIC_TYPE_PKCS); wc_PKCS12_free(pkcs12); /* wc_PKCS12_free tolerates NULL: the guard's true half. */ wc_PKCS12_free(NULL);