diff options
Diffstat (limited to 'Source/charon/ike_sa_id.c')
-rw-r--r-- | Source/charon/ike_sa_id.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/ike_sa_id.c b/Source/charon/ike_sa_id.c index 8ff1fd75a..3634c829c 100644 --- a/Source/charon/ike_sa_id.c +++ b/Source/charon/ike_sa_id.c @@ -26,6 +26,7 @@ #include <pluto/constants.h> #include <pluto/defs.h> +#include "allocator.h" #include "types.h" #include "ike_sa_id.h" @@ -182,7 +183,7 @@ static status_t destroy (private_ike_sa_id_t *this) */ ike_sa_id_t * ike_sa_id_create(spi_t initiator_spi, spi_t responder_spi, ike_sa_role_t role) { - private_ike_sa_id_t *this = allocator_alloc_thing(private_ike_sa_id_t, "private_ike_sa_id_t"); + private_ike_sa_id_t *this = allocator_alloc_thing(private_ike_sa_id_t); if (this == NULL) { return NULL; |