malloc NULLs already
authorChristian Grothoff <christian@grothoff.org>
Tue, 30 Aug 2011 11:53:22 +0000 (11:53 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 30 Aug 2011 11:53:22 +0000 (11:53 +0000)
src/mesh/mesh_api_new.c

index 2aa7a9b2f41e614e9a137b4765f8790ca4d0f502..fb9668c5671eb84d3d8a4c929388e352d1dcdea3 100644 (file)
@@ -888,7 +888,6 @@ GNUNET_MESH_notify_transmit_ready (struct GNUNET_MESH_Tunnel *tunnel, int cork,
   handle->t = tunnel;
   handle->q = q = GNUNET_malloc (sizeof (struct GNUNET_MESH_queue));
   q->size = notify_size;
-  q->data = NULL;
   q->notify = notify;
   q->notify_cls = notify_cls;
   // FIXME: insert by priority!?