Merge branch 'bugfix/fix_memleak_in_wpa3_feature_v4.1' into 'release/v4.1'
fix(wpa_supplicant): fix memleak in wpa3 feature(backport v4.1) See merge request espressif/esp-idf!8656
This commit is contained in:
commit
58f0a94cdf
1 changed files with 1 additions and 0 deletions
|
@ -589,6 +589,7 @@ int crypto_ec_point_is_on_curve(struct crypto_ec *e,
|
|||
|
||||
cleanup:
|
||||
mbedtls_mpi_free(&y_sqr_lhs);
|
||||
mbedtls_mpi_free(&two);
|
||||
mbedtls_mpi_free(y_sqr_rhs);
|
||||
os_free(y_sqr_rhs);
|
||||
return (ret == 0) && (on_curve == 1);
|
||||
|
|
Loading…
Reference in a new issue