diff options
author | Jan Hutter <jhutter@hsr.ch> | 2005-11-09 09:35:06 +0000 |
---|---|---|
committer | Jan Hutter <jhutter@hsr.ch> | 2005-11-09 09:35:06 +0000 |
commit | 6c4b815f22341ad3c2574b42a64b39e16ef1e7c7 (patch) | |
tree | 57c322fecce2b837b34654758a0e394ffdfaa90e /Source/charon/send_queue.c | |
parent | 79538669625bbae26fcef5d791b2246242c5a407 (diff) | |
download | strongswan-6c4b815f22341ad3c2574b42a64b39e16ef1e7c7.tar.bz2 strongswan-6c4b815f22341ad3c2574b42a64b39e16ef1e7c7.tar.xz |
- memory allocation now works with allocator-functions...
Diffstat (limited to 'Source/charon/send_queue.c')
-rw-r--r-- | Source/charon/send_queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/send_queue.c b/Source/charon/send_queue.c index 673ba38f1..3cb61b06e 100644 --- a/Source/charon/send_queue.c +++ b/Source/charon/send_queue.c @@ -22,6 +22,7 @@ #include <pthread.h> +#include "allocator.h" #include "send_queue.h" #include "linked_list.h" @@ -149,7 +150,7 @@ send_queue_t *send_queue_create() return NULL; } - private_send_queue_t *this = allocator_alloc_thing(private_send_queue_t, "private_send_queue_t"); + private_send_queue_t *this = allocator_alloc_thing(private_send_queue_t); if (this == NULL) { linked_list->destroy(linked_list); |