diff options
Diffstat (limited to 'src/dht/test_dht_topo.c')
-rw-r--r-- | src/dht/test_dht_topo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/test_dht_topo.c b/src/dht/test_dht_topo.c index 1fd61129b..311bb5597 100644 --- a/src/dht/test_dht_topo.c +++ b/src/dht/test_dht_topo.c | |||
@@ -382,7 +382,7 @@ run (void *cls, | |||
382 | GNUNET_CRYPTO_hash (&i, sizeof (i), &key); | 382 | GNUNET_CRYPTO_hash (&i, sizeof (i), &key); |
383 | for (j=0;j<num_peers;j++) | 383 | for (j=0;j<num_peers;j++) |
384 | { | 384 | { |
385 | get_op = GNUNET_malloc (sizeof (struct GetOperation)); | 385 | get_op = GNUNET_new (struct GetOperation); |
386 | GNUNET_CONTAINER_DLL_insert (get_head, | 386 | GNUNET_CONTAINER_DLL_insert (get_head, |
387 | get_tail, | 387 | get_tail, |
388 | get_op); | 388 | get_op); |