Remove extra mbedtls_ecp_group_free() call since the grp is free

at the top of the function.
This commit is contained in:
Alexander K 2019-08-07 20:40:46 +03:00
parent 86cef2a316
commit 1f5e6abfb9

View File

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