aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/utils/tester.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/lib/utils/tester.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/lib/utils/tester.c')
-rw-r--r--Source/lib/utils/tester.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/lib/utils/tester.c b/Source/lib/utils/tester.c
index 20dea2e82..a7599dd82 100644
--- a/Source/lib/utils/tester.c
+++ b/Source/lib/utils/tester.c
@@ -28,7 +28,6 @@
#include "tester.h"
-#include <utils/allocator.h>
#include <utils/linked_list.h>
#include <queues/job_queue.h>
@@ -225,7 +224,7 @@ static void destroy(private_tester_t *tester)
{
private_tester_t *this = (private_tester_t*) tester;
pthread_mutex_destroy(&(this->mutex));
- allocator_free(this);
+ free(this);
}
/*
@@ -233,7 +232,7 @@ static void destroy(private_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 *this = malloc_thing(private_tester_t);
/* public functions */
this->protected.public.destroy = (void (*) (tester_t *))destroy;