test_dual_alg_ecdsa_mldsa: fix decoded cert leak.

This commit is contained in:
jordan
2025-02-11 10:58:03 -05:00
parent be5f203274
commit 922cb73061

View File

@@ -1741,6 +1741,7 @@ static int test_dual_alg_ecdsa_mldsa(void)
cm = NULL;
}
wc_FreeDecodedCert(&d_cert);
wc_ecc_free(&ca_key);
wc_MlDsaKey_Free(&alt_ca_key);
wc_FreeRng(&rng);