aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_performance.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-11-22 12:03:41 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-11-22 12:03:41 +0000
commit96789dd016757f879c78388db81781038e679a4e (patch)
tree1699674e61973f50c7e61acab3c0d55cbdd1b80a /src/ats/ats_api_performance.c
parent518ed1ee15cf767da051e362b671f19326a19715 (diff)
downloadgnunet-96789dd016757f879c78388db81781038e679a4e.tar.gz
gnunet-96789dd016757f879c78388db81781038e679a4e.zip
- fix
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r--src/ats/ats_api_performance.c3
1 files changed, 3 insertions, 0 deletions
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,
511 NULL, 511 NULL,
512 bandwidth_zero, bandwidth_zero, 512 bandwidth_zero, bandwidth_zero,
513 NULL, 0); 513 NULL, 0);
514 GNUNET_CONTAINER_DLL_remove (ph->addresslist_head, ph->addresslist_tail, alh);
515 GNUNET_free (alh);
514 return GNUNET_OK; 516 return GNUNET_OK;
515 } 517 }
516 518
@@ -801,6 +803,7 @@ GNUNET_ATS_performance_list_addresses (struct GNUNET_ATS_PerformanceHandle *hand
801 memset (&m->peer, '\0', sizeof (struct GNUNET_PeerIdentity)); 803 memset (&m->peer, '\0', sizeof (struct GNUNET_PeerIdentity));
802 } 804 }
803 GNUNET_CONTAINER_DLL_insert_tail (handle->pending_head, handle->pending_tail, p); 805 GNUNET_CONTAINER_DLL_insert_tail (handle->pending_head, handle->pending_tail, p);
806
804 do_transmit (handle); 807 do_transmit (handle);
805 808
806 return alh; 809 return alh;