summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-01-28 18:29:17 +0000
committerBart Polot <bart@net.in.tum.de>2015-01-28 18:29:17 +0000
commit5b51eac94676e19d2029f00fc8f706b3c33f2c1c (patch)
treee115349e254d64172d94d9ef03003c3e7bf44579 /src
parentd18aa75de649794f0cab437f4b2978cbaa452087 (diff)
- RPS sampler destroy also accesses peer_map
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 9620ba7a8..8d1b43bae 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1443,9 +1443,9 @@ shutdown_task (void *cls,
GNUNET_NSE_disconnect (nse);
GNUNET_CADET_disconnect (cadet_handle);
+ RPS_sampler_destroy ();
GNUNET_break (0 == GNUNET_CONTAINER_multipeermap_size (peer_map));
GNUNET_CONTAINER_multipeermap_destroy (peer_map);
- RPS_sampler_destroy ();
GNUNET_array_grow (request_deltas, request_deltas_size, 0);
GNUNET_array_grow (gossip_list, gossip_list_size, 0);
GNUNET_array_grow (push_list, push_list_size, 0);