aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/eap_server/eap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_server/eap.c b/src/eap_server/eap.c
index d23ae2f..897adc3 100644
--- a/src/eap_server/eap.c
+++ b/src/eap_server/eap.c
@@ -1261,7 +1261,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);