aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/daemon.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-12-07 16:04:50 +0000
committerMartin Willi <martin@strongswan.org>2005-12-07 16:04:50 +0000
commit0e50bde37bd8713f351b65c852f14c1da2567b3b (patch)
treedce103b0cf41ba04230b225b60b8700ccba3829d /Source/charon/daemon.c
parentc3903a186150e59610930f7acb07a544b8a86e72 (diff)
downloadstrongswan-0e50bde37bd8713f351b65c852f14c1da2567b3b.tar.bz2
strongswan-0e50bde37bd8713f351b65c852f14c1da2567b3b.tar.xz
- fixed thread pool removal
Diffstat (limited to 'Source/charon/daemon.c')
-rw-r--r--Source/charon/daemon.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/charon/daemon.c b/Source/charon/daemon.c
index a80e04374..2d23b58fe 100644
--- a/Source/charon/daemon.c
+++ b/Source/charon/daemon.c
@@ -182,7 +182,6 @@ static void initialize(private_daemon_t *this)
this->public.sender = sender_create();
this->public.receiver = receiver_create();
this->public.scheduler = scheduler_create();
- this->public.prime_pool = prime_pool_create(PRIME_PRE_COMPUTATION_LIMIT);
this->public.thread_pool = thread_pool_create(NUMBER_OF_WORKING_THREADS);
}
@@ -207,10 +206,6 @@ static void destroy(private_daemon_t *this)
{
this->public.thread_pool->destroy(this->public.thread_pool);
}
- if (this->public.prime_pool != NULL)
- {
- this->public.prime_pool->destroy(this->public.prime_pool);
- }
if (this->public.job_queue != NULL)
{
this->public.job_queue->destroy(this->public.job_queue);