aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/queues/send_queue.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-04-10 08:07:38 +0000
committerMartin Willi <martin@strongswan.org>2006-04-10 08:07:38 +0000
commit5113680f95e522c677cdd37072cfffbdca06831e (patch)
tree973ac57accbc66b042e5307942c6cbbbf4f19579 /Source/charon/queues/send_queue.c
parent6862128151fb78f63685a8da5575783c426d64a7 (diff)
downloadstrongswan-5113680f95e522c677cdd37072cfffbdca06831e.tar.bz2
strongswan-5113680f95e522c677cdd37072cfffbdca06831e.tar.xz
- 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
Diffstat (limited to 'Source/charon/queues/send_queue.c')
-rw-r--r--Source/charon/queues/send_queue.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/charon/queues/send_queue.c b/Source/charon/queues/send_queue.c
index df1f7b38f..0852e5303 100644
--- a/Source/charon/queues/send_queue.c
+++ b/Source/charon/queues/send_queue.c
@@ -24,7 +24,6 @@
#include "send_queue.h"
-#include <utils/allocator.h>
#include <utils/linked_list.h>
@@ -130,7 +129,7 @@ static void destroy (private_send_queue_t *this)
pthread_cond_destroy(&(this->condvar));
- allocator_free(this);
+ free(this);
}
/*
@@ -139,7 +138,7 @@ static void destroy (private_send_queue_t *this)
*/
send_queue_t *send_queue_create()
{
- private_send_queue_t *this = allocator_alloc_thing(private_send_queue_t);
+ private_send_queue_t *this = malloc_thing(private_send_queue_t);
this->public.get_count = (int(*)(send_queue_t*)) get_count;
this->public.get = (packet_t*(*)(send_queue_t*)) get;