From 5113680f95e522c677cdd37072cfffbdca06831e Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 10 Apr 2006 08:07:38 +0000 Subject: - split up in libstrong, charon, stroke, testing done - new leak detective with malloc hook in library - useable, but needs improvements - logger_manager has now a single instance per library - allows use of loggers from any linking prog - a LOT of other things --- Source/charon/queues/job_queue.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Source/charon/queues/job_queue.c') diff --git a/Source/charon/queues/job_queue.c b/Source/charon/queues/job_queue.c index 9d383d743..3640395ab 100644 --- a/Source/charon/queues/job_queue.c +++ b/Source/charon/queues/job_queue.c @@ -25,7 +25,6 @@ #include "job_queue.h" -#include #include @@ -130,7 +129,7 @@ static void job_queue_destroy (private_job_queue_t *this) pthread_cond_destroy(&(this->condvar)); - allocator_free(this); + free(this); } /* @@ -139,7 +138,7 @@ static void job_queue_destroy (private_job_queue_t *this) */ job_queue_t *job_queue_create() { - private_job_queue_t *this = allocator_alloc_thing(private_job_queue_t); + private_job_queue_t *this = malloc_thing(private_job_queue_t); this->public.get_count = (int(*)(job_queue_t*))get_count; this->public.get = (job_t*(*)(job_queue_t*))get; -- cgit v1.2.3