diff options
Diffstat (limited to 'src/mesh/gnunet-service-mesh_peer.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c index 741bffc2f..def57ba56 100644 --- a/src/mesh/gnunet-service-mesh_peer.c +++ b/src/mesh/gnunet-service-mesh_peer.c | |||
@@ -1051,7 +1051,7 @@ GMP_queue_add (struct MeshPeer *peer, void *cls, uint16_t type, size_t size, | |||
1051 | LOG (GNUNET_ERROR_TYPE_DEBUG, "priority %d\n", priority); | 1051 | LOG (GNUNET_ERROR_TYPE_DEBUG, "priority %d\n", priority); |
1052 | 1052 | ||
1053 | call_core = NULL == c ? GNUNET_YES : GMC_is_sendable (c, fwd); | 1053 | call_core = NULL == c ? GNUNET_YES : GMC_is_sendable (c, fwd); |
1054 | queue = GNUNET_malloc (sizeof (struct MeshPeerQueue)); | 1054 | queue = GNUNET_new (struct MeshPeerQueue); |
1055 | queue->cls = cls; | 1055 | queue->cls = cls; |
1056 | queue->type = type; | 1056 | queue->type = type; |
1057 | queue->size = size; | 1057 | queue->size = size; |