From 1f5e6abfb93a2d49552aed373e6265b01e627d5b Mon Sep 17 00:00:00 2001 From: Alexander K Date: Wed, 7 Aug 2019 20:40:46 +0300 Subject: [PATCH] Remove extra mbedtls_ecp_group_free() call since the grp is free at the top of the function. --- library/ecp_curves.c | 1 - 1 file changed, 1 deletion(-) diff --git a/library/ecp_curves.c b/library/ecp_curves.c index 282481d05..4335f2d60 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c @@ -836,7 +836,6 @@ int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id ) #endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */ default: - mbedtls_ecp_group_free( grp ); return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE ); } }