aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/config/connection.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/charon/config/connection.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/charon/config/connection.c')
-rw-r--r--Source/charon/config/connection.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/charon/config/connection.c b/Source/charon/config/connection.c
index 24f16a044..d2e50c780 100644
--- a/Source/charon/config/connection.c
+++ b/Source/charon/config/connection.c
@@ -22,7 +22,6 @@
#include "connection.h"
-#include <utils/allocator.h>
#include <utils/linked_list.h>
#include <utils/logger.h>
@@ -290,7 +289,7 @@ static void destroy (private_connection_t *this)
this->other_host->destroy(this->other_host);
this->my_id->destroy(this->my_id);
this->other_id->destroy(this->other_id);
- allocator_free(this);
+ free(this);
}
/**
@@ -298,7 +297,7 @@ static void destroy (private_connection_t *this)
*/
connection_t * connection_create(host_t *my_host, host_t *other_host, identification_t *my_id, identification_t *other_id, auth_method_t auth_method)
{
- private_connection_t *this = allocator_alloc_thing(private_connection_t);
+ private_connection_t *this = malloc_thing(private_connection_t);
/* public functions */
this->public.get_my_id = (identification_t*(*)(connection_t*))get_my_id;