aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-20 15:22:25 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-09 19:00:36 (GMT)
commita58e3e6e085b1b15ecda62902b0e8d3e860efab4 (patch)
tree112adf0028cbe44260ac6be49ef7143c4f881450
parent48a35982a2e6bbcc91a22a336180f16ec8c65464 (diff)
downloadhostap-06-a58e3e6e085b1b15ecda62902b0e8d3e860efab4.zip
hostap-06-a58e3e6e085b1b15ecda62902b0e8d3e860efab4.tar.gz
hostap-06-a58e3e6e085b1b15ecda62902b0e8d3e860efab4.tar.bz2
Fix lastReqData freeing to use wpabuf_free()
(cherry picked from commit f52ab9e6b0f7cb77d35c59f7f561bcf383795002)
-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);