Fixed fwrite error path in eap_fast_write_pac not to free buf
authorJouni Malinen <j@w1.fi>
Sat, 1 Nov 2008 15:09:28 +0000 (17:09 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 1 Nov 2008 15:09:28 +0000 (17:09 +0200)
commitac987fb7de1d6336cd7b8b9106a133b214ea59ed
tree5c62abb429431f6452e9512e8073c823cc596d77
parent8caa12b46c7a1c65fad123b754c449903bc7dea9
Fixed fwrite error path in eap_fast_write_pac not to free buf

Caller expects the buffer to be allocated on error, so eap_fast_write_pac()
must be consistent with its behavior on error paths.
src/eap_peer/eap_fast_pac.c