- use proper signedness
[oweals/gnunet.git] / src / transport / gnunet-service-transport_clients.c
index 0aeb661d4662bff667d0760dc0a0b1761b58dfb1..8679f40b47cc1a350f0e5fc6406f8b8849fe9765 100644 (file)
@@ -677,7 +677,7 @@ clients_handle_send (void *cls,
     return;
   }
   GNUNET_SERVER_receive_done (client, GNUNET_OK);
-  stcc = GNUNET_malloc (sizeof (struct SendTransmitContinuationContext));
+  stcc = GNUNET_new (struct SendTransmitContinuationContext);
   stcc->target = obm->peer;
   stcc->client = client;
   GNUNET_SERVER_client_keep (client);