From d0eee6982239a8950eff487b53afd7bd3ddf6a27 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 4 Dec 2008 10:09:21 +0000 Subject: [PATCH] reset pointer for a clean destruction --- src/charon/sa/authenticators/eap_authenticator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/charon/sa/authenticators/eap_authenticator.c b/src/charon/sa/authenticators/eap_authenticator.c index 70d56f074..0bda6f242 100644 --- a/src/charon/sa/authenticators/eap_authenticator.c +++ b/src/charon/sa/authenticators/eap_authenticator.c @@ -360,6 +360,7 @@ static status_t process_eap_identity(private_eap_authenticator_t *this, } /* restart EAP exchange, but with real method */ this->method->destroy(this->method); + this->method = NULL; this->do_eap_identity = FALSE; return initiate(this, this->type, this->vendor, out); }