summaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed-logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/gnunet-service-testbed-logger.c')
-rw-r--r--src/testbed/gnunet-service-testbed-logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testbed/gnunet-service-testbed-logger.c b/src/testbed/gnunet-service-testbed-logger.c
index dfa9da52f..8129c7cbf 100644
--- a/src/testbed/gnunet-service-testbed-logger.c
+++ b/src/testbed/gnunet-service-testbed-logger.c
@@ -145,7 +145,7 @@ queue_message (struct GNUNET_SERVER_Client *client,
type = ntohs (msg->type);
size = ntohs (msg->size);
- mq_entry = GNUNET_malloc (sizeof (struct MessageQueue));
+ mq_entry = GNUNET_new (struct MessageQueue);
mq_entry->msg = msg;
mq_entry->client = client;
GNUNET_SERVER_client_keep (client);