aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/frontends/osx/charon-xpc/xpc_channels.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/frontends/osx/charon-xpc/xpc_channels.c b/src/frontends/osx/charon-xpc/xpc_channels.c
index 494ce0b49..3eceaa88f 100644
--- a/src/frontends/osx/charon-xpc/xpc_channels.c
+++ b/src/frontends/osx/charon-xpc/xpc_channels.c
@@ -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);