From 6c4b815f22341ad3c2574b42a64b39e16ef1e7c7 Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Wed, 9 Nov 2005 09:35:06 +0000 Subject: - memory allocation now works with allocator-functions... --- Source/charon/event_queue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/charon/event_queue.c') diff --git a/Source/charon/event_queue.c b/Source/charon/event_queue.c index d086bf44f..a4dd5980d 100644 --- a/Source/charon/event_queue.c +++ b/Source/charon/event_queue.c @@ -26,7 +26,7 @@ #include #include - +#include "allocator.h" #include "types.h" #include "event_queue.h" #include "linked_list.h" @@ -85,7 +85,7 @@ static status_t event_destroy(event_t *event) */ static event_t *event_create(timeval_t time, job_t *job) { - event_t *this = allocator_alloc_thing(event_t, "event_t"); + event_t *this = allocator_alloc_thing(event_t); this->destroy = event_destroy; @@ -361,7 +361,7 @@ event_queue_t *event_queue_create() return NULL; } - private_event_queue_t *this = allocator_alloc_thing(private_event_queue_t, "private_event_queue_t"); + private_event_queue_t *this = allocator_alloc_thing(private_event_queue_t); if (this == NULL) { linked_list->destroy(linked_list); -- cgit v1.2.3