EAPOL auth: Move radius_cui/identity freeing to eapol_auth_free()
authorJouni Malinen <j@w1.fi>
Sat, 6 Feb 2016 14:31:28 +0000 (16:31 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Feb 2016 14:32:22 +0000 (16:32 +0200)
commitd689317ddbf58487432951a4afb2f4070eeb10b6
tree882d705dbdfff9d438474cddb1b47bcdade2e26d
parent0ae86f90430b38d4bfb2832585c31d3efa7f6b84
EAPOL auth: Move radius_cui/identity freeing to eapol_auth_free()

These can get allocated within eapol_auth_alloc(), so it is more logical
to free them in eapol_auth_free() instead of ieee802_1x_free_station()
that ends up calling eapol_auth_free().

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_1x.c
src/eapol_auth/eapol_auth_sm.c