From 96789dd016757f879c78388db81781038e679a4e Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 22 Nov 2012 12:03:41 +0000 Subject: - fix --- src/ats/ats_api_performance.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index 4e09123c5..81e4dc81e 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c @@ -511,6 +511,8 @@ process_ar_message (struct GNUNET_ATS_PerformanceHandle *ph, NULL, bandwidth_zero, bandwidth_zero, NULL, 0); + GNUNET_CONTAINER_DLL_remove (ph->addresslist_head, ph->addresslist_tail, alh); + GNUNET_free (alh); return GNUNET_OK; } @@ -801,6 +803,7 @@ GNUNET_ATS_performance_list_addresses (struct GNUNET_ATS_PerformanceHandle *hand memset (&m->peer, '\0', sizeof (struct GNUNET_PeerIdentity)); } GNUNET_CONTAINER_DLL_insert_tail (handle->pending_head, handle->pending_tail, p); + do_transmit (handle); return alh; -- cgit v1.2.3