leak
authorChristian Grothoff <christian@grothoff.org>
Wed, 6 Oct 2010 08:41:57 +0000 (08:41 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 6 Oct 2010 08:41:57 +0000 (08:41 +0000)
src/dht/gnunet-service-dht.c

index 9431ad20abf52f157d9d4bc201e619a47a48e6d8..e997e48e5d956bc4bb51c6de18937a9114883104 100644 (file)
@@ -2416,6 +2416,7 @@ handle_dht_find_peer (void *cls,
           GNUNET_TRANSPORT_offer_hello(transport_handle, other_hello);
           GNUNET_CORE_peer_request_connect(sched, cfg, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 5), &peer_id, NULL, NULL);
          route_message2 (find_msg, message_context);
+         GNUNET_free (other_hello);
           return;
         }
       else /* We don't want this peer! */