projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixes
[oweals/gnunet.git]
/
src
/
testbed
/
gnunet-service-testbed-logger.c
diff --git
a/src/testbed/gnunet-service-testbed-logger.c
b/src/testbed/gnunet-service-testbed-logger.c
index dfa9da52ff570d1d93365b3de1e7fb712929de4a..8129c7cbf6d5d092c5688210d15e08396358ad49 100644
(file)
--- 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);