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/tester.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/tester.c')
-rw-r--r-- | Source/charon/tester.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/tester.c b/Source/charon/tester.c index 4fe6410f6..96af2edd4 100644 --- a/Source/charon/tester.c +++ b/Source/charon/tester.c @@ -29,6 +29,7 @@ #include <pthread.h> #include <sys/time.h> +#include "allocator.h" #include "tester.h" #include "linked_list.h" #include "thread_pool.h" @@ -179,7 +180,7 @@ static status_t destroy(tester_t *tester) tester_t *tester_create(FILE *output, bool display_succeeded_asserts) { - private_tester_t *this = allocator_alloc_thing(private_tester_t, "private_tester_t"); + private_tester_t *this = allocator_alloc_thing(private_tester_t); this->public.destroy = destroy; this->public.perform_tests = perform_tests; |