fixed copy-paste bug (double-free)

This commit is contained in:
Martin Willi 2008-12-04 10:10:37 +00:00
parent d0eee69822
commit 7710a286ca
1 changed files with 0 additions and 1 deletions

View File

@ -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);