aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/osx
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-05-02 13:58:22 +0200
committerMartin Willi <martin@revosec.ch>2013-07-18 12:17:55 +0200
commit22bffc647dc87a3a3d0c4c2588dc5092607b2892 (patch)
tree214f834fd62048b0ae9a7aa76df2dc7aa2286ee6 /src/frontends/osx
parent1a3f71d97a55415073eacbea090fba466f3f2c76 (diff)
downloadstrongswan-22bffc647dc87a3a3d0c4c2588dc5092607b2892.tar.bz2
strongswan-22bffc647dc87a3a3d0c4c2588dc5092607b2892.tar.xz
xpc: no need to clear channel table, they are bound to IKE_SA lifetime
Diffstat (limited to 'src/frontends/osx')
-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);