Fixed fwrite error path in eap_fast_write_pac not to free buf