diff --git a/tests/api.c b/tests/api.c index 0567febcc..acc6fa7f8 100644 --- a/tests/api.c +++ b/tests/api.c @@ -22739,6 +22739,7 @@ static void test_wc_ecc_get_curve_id_from_dp_params(void) id = wc_ecc_get_curve_id_from_dp_params(NULL); AssertIntEQ(id, BAD_FUNC_ARG); + wolfSSL_EC_KEY_free(ecKey); printf(resultFmt, passed); }