mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
EAP-pwd: Use os_free to free memory allocated with os_malloc
The direct use of free() caused a crash with CONFIG_WPA_TRACE=y.
This commit is contained in:
parent
bc8318acbc
commit
b13d3d63d5
@ -257,7 +257,7 @@ int compute_password_element(EAP_PWD_group *grp, u16 num,
|
||||
BN_free(cofactor);
|
||||
BN_free(x_candidate);
|
||||
BN_free(rnd);
|
||||
free(prfbuf);
|
||||
os_free(prfbuf);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user