aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-12-04 10:10:37 +0000
committerMartin Willi <martin@strongswan.org>2008-12-04 10:10:37 +0000
commit7710a286ca32df0ff3ff429cab3284687a83dcca (patch)
tree1b3318410535665c7195eb3ef10eacde811f6aad /src
parentd0eee6982239a8950eff487b53afd7bd3ddf6a27 (diff)
downloadstrongswan-7710a286ca32df0ff3ff429cab3284687a83dcca.tar.bz2
strongswan-7710a286ca32df0ff3ff429cab3284687a83dcca.tar.xz
fixed copy-paste bug (double-free)
Diffstat (limited to 'src')
-rw-r--r--src/charon/plugins/eap_sim/eap_sim.c1
1 files changed, 0 insertions, 1 deletions
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
@@ -1051,7 +1051,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);
DESTROY_IF(this->signer);