More W32 resolver workarounds
[oweals/gnunet.git] / src / dht / test_dht_monitor.c
index 303fe8f87d70f737114607a87f448ef6a84617c3..98791d28f76b766ea64210782ff4e55fb326b989 100644 (file)
@@ -380,7 +380,7 @@ run (void *cls,
     GNUNET_CRYPTO_hash (&i, sizeof (i), &key);
     for (j=0;j<num_peers;j++)
     {
-      get_op = GNUNET_malloc (sizeof (struct GetOperation));
+      get_op = GNUNET_new (struct GetOperation);
       GNUNET_CONTAINER_DLL_insert (get_head,
                                   get_tail,
                                   get_op);