mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(wpa_supplicant): fix memleak in wpa3 feature
This commit is contained in:
parent
f14cdd5d3a
commit
949e7c6f85
@ -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 New Issue
Block a user