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