{
for (p = 0; p < tc->link_array_size; p++)
if (NULL != tc->link_ops[p])
- GNUNET_TESTBED_operation_cancel (tc->link_ops[p]);
- GNUNET_free (tc->link_ops);
+ GNUNET_TESTBED_operation_cancel (tc->link_ops[p]);
+ GNUNET_free (tc->link_ops);
}
GNUNET_free_non_null (tc->link_array);
GNUNET_free (tc);
return NULL;
c = peers[0]->controller;
tc = GNUNET_malloc (sizeof (struct TopologyContext));
+ tc->peers = peers;
switch (topo)
{
case GNUNET_TESTBED_TOPOLOGY_LINE: