aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/message.c')
-rw-r--r--Source/charon/message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/charon/message.c b/Source/charon/message.c
index 90640042a..1651d9daf 100644
--- a/Source/charon/message.c
+++ b/Source/charon/message.c
@@ -25,6 +25,7 @@
#include <pluto/constants.h>
#include <pluto/defs.h>
+#include "allocator.h"
#include "types.h"
#include "message.h"
@@ -63,7 +64,7 @@ static status_t destroy (private_message_t *this)
*/
message_t * message_create()
{
- private_message_t *this = allocator_alloc_thing(private_message_t, "private_message_t");
+ private_message_t *this = allocator_alloc_thing(private_message_t);
if (this == NULL)
{
return NULL;