{
for (p = 0; p < tc->link_array_size; p++)
if (NULL != tc->link_array[p].op)
- GNUNET_TESTBED_operation_cancel (tc->link_array[p].op);
+ GNUNET_TESTBED_operation_done (tc->link_array[p].op);
GNUNET_free (tc->link_array);
}
GNUNET_free (tc);
default:
GNUNET_break (0); /* Should not use any other option apart from
the ones handled here */
+ GNUNET_free_non_null (tc->link_array);
+ GNUNET_free (tc);
return NULL;
}
} while (GNUNET_TESTBED_TOPOLOGY_OPTION_END != secondary_option);
&oprelease_overlay_configure_topology);
GNUNET_TESTBED_operation_queue_insert_
(c->opq_parallel_topology_config_operations, op);
+ GNUNET_TESTBED_operation_begin_wait_ (op);
return op;
}