From 129e2b3cb013020a6fca41d5b02e0f305cc14f5a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 6 Oct 2010 08:41:57 +0000 Subject: [PATCH] leak --- src/dht/gnunet-service-dht.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 9431ad20a..e997e48e5 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c @@ -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! */ -- 2.25.1