Free key at the end of the test

This commit is contained in:
Tesfa Mael
2019-04-24 11:49:53 -07:00
parent edef75c70f
commit dfde631cb2

View File

@@ -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); id = wc_ecc_get_curve_id_from_dp_params(NULL);
AssertIntEQ(id, BAD_FUNC_ARG); AssertIntEQ(id, BAD_FUNC_ARG);
wolfSSL_EC_KEY_free(ecKey);
printf(resultFmt, passed); printf(resultFmt, passed);
} }