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/ike_sa.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/ike_sa.c')
-rw-r--r-- | Source/charon/ike_sa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/ike_sa.c b/Source/charon/ike_sa.c index f5333c638..638b64d12 100644 --- a/Source/charon/ike_sa.c +++ b/Source/charon/ike_sa.c @@ -21,6 +21,7 @@ * for more details. */ +#include "allocator.h" #include "types.h" #include "linked_list.h" #include "ike_sa.h" @@ -145,7 +146,7 @@ static status_t destroy (private_ike_sa_t *this) */ ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id) { - private_ike_sa_t *this = allocator_alloc_thing(private_ike_sa_t, "private_ike_sa_t"); + private_ike_sa_t *this = allocator_alloc_thing(private_ike_sa_t); if (this == NULL) { return NULL; |