From: Christian Grothoff Date: Thu, 31 May 2012 20:59:20 +0000 (+0000) Subject: -fixing assertion failure on sparcbot in line 2679, adding comments for possible... X-Git-Tag: initial-import-from-subversion-38251~13327 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1f633b2a7d4356aa1ef6653f56cb53fc47695c74;p=oweals%2Fgnunet.git -fixing assertion failure on sparcbot in line 2679, adding comments for possible issues that remain --- diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 662e2b569..3e41615b6 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -1769,9 +1769,11 @@ handle_test_blacklist_cont (void *cls, } else { + // FIXME: should also possibly destroy session with plugin!? GNUNET_ATS_address_destroyed (GST_ats, bcc->na.address, NULL); + free_address (&n->primary_address); n->state = S_INIT_ATS; n->timeout = GNUNET_TIME_relative_to_absolute (ATS_RESPONSE_TIMEOUT); // FIXME: do we need to ask ATS again for suggestions? @@ -1807,9 +1809,11 @@ handle_test_blacklist_cont (void *cls, } else { + // FIXME: should also possibly destroy session with plugin!? GNUNET_ATS_address_destroyed (GST_ats, bcc->na.address, NULL); + free_address (&n->primary_address); n->state = S_INIT_ATS; n->timeout = GNUNET_TIME_relative_to_absolute (ATS_RESPONSE_TIMEOUT); // FIXME: do we need to ask ATS again for suggestions?