From dfde631cb2f46080e37eb7a7c88f8719205d40e0 Mon Sep 17 00:00:00 2001 From: Tesfa Mael Date: Wed, 24 Apr 2019 11:49:53 -0700 Subject: [PATCH] Free key at the end of the test --- tests/api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/api.c b/tests/api.c index 0567febcc6..acc6fa7f8a 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); }