Fix lastReqData freeing to use wpabuf_free()

This commit is contained in:
Jouni Malinen 2009-12-20 17:22:25 +02:00
parent eeb04821ad
commit f52ab9e6b0

View file

@ -1263,7 +1263,7 @@ void eap_server_sm_deinit(struct eap_sm *sm)
sm->m->reset(sm, sm->eap_method_priv);
wpabuf_free(sm->eap_if.eapReqData);
os_free(sm->eap_if.eapKeyData);
os_free(sm->lastReqData);
wpabuf_free(sm->lastReqData);
wpabuf_free(sm->eap_if.eapRespData);
os_free(sm->identity);
os_free(sm->pac_opaque_encr_key);