commit | 1f5e6abfb93a2d49552aed373e6265b01e627d5b | [log] [tgz] |
---|---|---|
author | Alexander K <ak@tempesta-tech.com> | Wed Aug 07 20:40:46 2019 +0300 |
committer | Alexander K <ak@tempesta-tech.com> | Wed Aug 07 20:40:46 2019 +0300 |
tree | 1260e23b3d344fb2db618d52a21bc867af0bcb3d | |
parent | 86cef2a3160bcb93daa796675a1eadd3883462c3 [diff] |
Remove extra mbedtls_ecp_group_free() call since the grp is free at the top of the function.
diff --git a/library/ecp_curves.c b/library/ecp_curves.c index 282481d..4335f2d 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c
@@ -836,7 +836,6 @@ #endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */ default: - mbedtls_ecp_group_free( grp ); return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE ); } }