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

This commit is contained in:
Martin Willi 2013-05-02 13:58:22 +02:00
parent 1a3f71d97a
commit 22bffc647d
1 changed files with 0 additions and 8 deletions

View File

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