From: Bart Polot Date: Thu, 3 Nov 2011 12:23:28 +0000 (+0000) Subject: Initialize before usage X-Git-Tag: initial-import-from-subversion-38251~16082 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b303961f38c9b578f30248ee364ed4e5ffdcd06c;p=oweals%2Fgnunet.git Initialize before usage --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 4b1fca931..a792884c9 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -2057,6 +2057,7 @@ tunnel_send_multicast (struct MeshTunnel *t, mdata->data_len = ntohs (msg->size); mdata->reference_counter = GNUNET_malloc (sizeof (unsigned int)); mdata->data = GNUNET_malloc (mdata->data_len); + mdata->t = t; memcpy (mdata->data, msg, mdata->data_len); if (NULL != t->client) {