diff options
author | Martin Willi <martin@strongswan.org> | 2006-04-10 08:07:38 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-04-10 08:07:38 +0000 |
commit | 5113680f95e522c677cdd37072cfffbdca06831e (patch) | |
tree | 973ac57accbc66b042e5307942c6cbbbf4f19579 /Source/charon/config/configuration.c | |
parent | 6862128151fb78f63685a8da5575783c426d64a7 (diff) | |
download | strongswan-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/config/configuration.c')
-rwxr-xr-x | Source/charon/config/configuration.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/charon/config/configuration.c b/Source/charon/config/configuration.c index 692fdd0f9..eac1bd43a 100755 --- a/Source/charon/config/configuration.c +++ b/Source/charon/config/configuration.c @@ -25,7 +25,6 @@ #include "configuration.h" #include <types.h> -#include <utils/allocator.h> /** * First retransmit timeout in milliseconds. @@ -94,7 +93,7 @@ static u_int32_t get_half_open_ike_sa_timeout (private_configuration_t *this) */ static void destroy(private_configuration_t *this) { - allocator_free(this); + free(this); } /* @@ -102,7 +101,7 @@ static void destroy(private_configuration_t *this) */ configuration_t *configuration_create() { - private_configuration_t *this = allocator_alloc_thing(private_configuration_t); + private_configuration_t *this = malloc_thing(private_configuration_t); /* public functions */ this->public.destroy = (void(*)(configuration_t*))destroy; |