aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-30 11:53:22 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-30 11:53:22 +0000
commit019ee85a84a9d6657c562b8ea91a567977bd47b3 (patch)
treea249af8e5a745be26d38835c81c1c52a5f6cff7d /src
parenta1cd4cff087fbead6d7f151554e70932e48ff80d (diff)
downloadgnunet-019ee85a84a9d6657c562b8ea91a567977bd47b3.tar.gz
gnunet-019ee85a84a9d6657c562b8ea91a567977bd47b3.zip
malloc NULLs already
Diffstat (limited to 'src')
-rw-r--r--src/mesh/mesh_api_new.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c
index 2aa7a9b2f..fb9668c56 100644
--- a/src/mesh/mesh_api_new.c
+++ b/src/mesh/mesh_api_new.c
@@ -888,7 +888,6 @@ GNUNET_MESH_notify_transmit_ready (struct GNUNET_MESH_Tunnel *tunnel, int cork,
888 handle->t = tunnel; 888 handle->t = tunnel;
889 handle->q = q = GNUNET_malloc (sizeof (struct GNUNET_MESH_queue)); 889 handle->q = q = GNUNET_malloc (sizeof (struct GNUNET_MESH_queue));
890 q->size = notify_size; 890 q->size = notify_size;
891 q->data = NULL;
892 q->notify = notify; 891 q->notify = notify;
893 q->notify_cls = notify_cls; 892 q->notify_cls = notify_cls;
894 // FIXME: insert by priority!? 893 // FIXME: insert by priority!?