From d564d4827a079b7c365b77a09527fdf49280aad2 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 10 Feb 2014 16:49:14 +0000 Subject: [PATCH] stop notifications on delete --- src/transport/transport_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index fb2623f24..c6ee3e47d 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c @@ -520,6 +520,7 @@ neighbour_delete (void *cls, GNUNET_assert (GNUNET_YES == GNUNET_CONTAINER_multipeermap_remove (handle->neighbours, key, n)); + GNUNET_BANDWIDTH_tracker_notification_stop (&n->out_tracker); GNUNET_free (n); return GNUNET_YES; } -- 2.25.1