summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2014-08-22 14:03:08 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2014-08-22 14:03:08 +0000
commit835ecdcc41a52e17fb4dc76fbd8a432384f4e193 (patch)
tree37e9ef3c9926d4b2e20616570bcd890e934d0157 /src
parenta69220704bee50ad720dc799be708db5c9183952 (diff)
Do not realloc as this will render the pointers to ActiveContexts invalid.
Diffstat (limited to 'src')
-rw-r--r--src/dht/gnunet_dht_profiler.c1
1 files changed, 0 insertions, 1 deletions
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 */