Merge pull request #8438 from philljj/ecdsa_mldsa_test_api_fix_leak

test_dual_alg_ecdsa_mldsa: fix decoded cert leak.
pull/8440/head
Daniel Pouzzner 2025-02-11 12:51:26 -06:00 committed by GitHub
commit 515bdf1320
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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);