From: Christian Grothoff Date: Tue, 21 Dec 2010 14:22:38 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~19470 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9eb06f96cc7c8f9124b90fef62d7738e1684db78;p=oweals%2Fgnunet.git fix --- diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 293e9c637..e9a30145f 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -4899,7 +4899,6 @@ handle_start (void *cls, GNUNET_break(0); } cim = GNUNET_malloc (size); - cim->header.size = htons (size); cim->header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT); cim->ats_count = htonl(ats_count); @@ -4919,9 +4918,9 @@ handle_start (void *cls, } n = n->next; } + GNUNET_free (cim); } GNUNET_SERVER_receive_done (client, GNUNET_OK); - GNUNET_free(cim); }