From 7710a286ca32df0ff3ff429cab3284687a83dcca Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 4 Dec 2008 10:10:37 +0000 Subject: [PATCH] fixed copy-paste bug (double-free) --- src/charon/plugins/eap_sim/eap_sim.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/charon/plugins/eap_sim/eap_sim.c b/src/charon/plugins/eap_sim/eap_sim.c index 11e4adbe0..c2902b54b 100644 --- a/src/charon/plugins/eap_sim/eap_sim.c +++ b/src/charon/plugins/eap_sim/eap_sim.c @@ -1050,7 +1050,6 @@ static bool is_mutual(private_eap_sim_t *this) */ static void destroy(private_eap_sim_t *this) { - this->peer->destroy(this->peer); this->peer->destroy(this->peer); DESTROY_IF(this->hasher); DESTROY_IF(this->prf);