aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_monitor.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-12-19 06:00:23 +0000
committerLRN <lrn1986@gmail.com>2013-12-19 06:00:23 +0000
commite0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch)
treeecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/dht/test_dht_monitor.c
parent92fd84dc7ef98452f848a62677c61a2b80b5835e (diff)
downloadgnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz
gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip
malloc -> new
Diffstat (limited to 'src/dht/test_dht_monitor.c')
-rw-r--r--src/dht/test_dht_monitor.c2
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);