xpc: no need to clear channel table, they are bound to IKE_SA lifetime

This commit is contained in:
Martin Willi
2013-07-18 12:17:55 +02:00
parent 1a3f71d97a
commit 22bffc647d
@@ -286,14 +286,6 @@ METHOD(xpc_channels_t, destroy, void,
lib->credmgr->remove_set(lib->credmgr, &this->creds->set);
this->creds->destroy(this->creds);
enumerator = this->channels->create_enumerator(this->channels);
while (enumerator->enumerate(enumerator, NULL, &entry))
{
destroy_entry(entry);
}
enumerator->destroy(enumerator);
this->channels->destroy(this->channels);
this->lock->destroy(this->lock);
free(this);