From 835ecdcc41a52e17fb4dc76fbd8a432384f4e193 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Fri, 22 Aug 2014 14:03:08 +0000 Subject: Do not realloc as this will render the pointers to ActiveContexts invalid. --- src/dht/gnunet_dht_profiler.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/dht/gnunet_dht_profiler.c b/src/dht/gnunet_dht_profiler.c index 24ec73921..3b6ea6b0c 100644 --- a/src/dht/gnunet_dht_profiler.c +++ b/src/dht/gnunet_dht_profiler.c @@ -1155,7 +1155,6 @@ test_run (void *cls, ac_cnt++; } n_active = ac_cnt; - a_ac = GNUNET_realloc (a_ac, n_active * sizeof (struct ActiveContext)); INFO ("Active peers: %u\n", n_active); /* start DHT service on all peers */ -- cgit v1.2.3