diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-10 16:49:14 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-02-10 16:49:14 +0000 |
commit | d564d4827a079b7c365b77a09527fdf49280aad2 (patch) | |
tree | 91149450a7704a042dbac6158e2242af8a6d5860 /src | |
parent | 024cddbd2e996eac42fb6de8a9424dcc73644cd0 (diff) | |
download | gnunet-d564d4827a079b7c365b77a09527fdf49280aad2.tar.gz gnunet-d564d4827a079b7c365b77a09527fdf49280aad2.zip |
stop notifications on delete
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/transport_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
520 | GNUNET_assert (GNUNET_YES == | 520 | GNUNET_assert (GNUNET_YES == |
521 | GNUNET_CONTAINER_multipeermap_remove (handle->neighbours, key, | 521 | GNUNET_CONTAINER_multipeermap_remove (handle->neighbours, key, |
522 | n)); | 522 | n)); |
523 | GNUNET_BANDWIDTH_tracker_notification_stop (&n->out_tracker); | ||
523 | GNUNET_free (n); | 524 | GNUNET_free (n); |
524 | return GNUNET_YES; | 525 | return GNUNET_YES; |
525 | } | 526 | } |