diff options
Diffstat (limited to 'src/testbed/gnunet-testbed-profiler.c')
-rw-r--r-- | src/testbed/gnunet-testbed-profiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c index 4168408e9..0d9143a86 100644 --- a/src/testbed/gnunet-testbed-profiler.c +++ b/src/testbed/gnunet-testbed-profiler.c | |||
@@ -258,14 +258,14 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
258 | if (NULL != reg_handle) | 258 | if (NULL != reg_handle) |
259 | GNUNET_TESTBED_cancel_registration (reg_handle); | 259 | GNUNET_TESTBED_cancel_registration (reg_handle); |
260 | if (NULL != topology_op) | 260 | if (NULL != topology_op) |
261 | GNUNET_TESTBED_operation_cancel (topology_op); | 261 | GNUNET_TESTBED_operation_done (topology_op); |
262 | for (nhost = 0; nhost < num_hosts; nhost++) | 262 | for (nhost = 0; nhost < num_hosts; nhost++) |
263 | if (NULL != hosts[nhost]) | 263 | if (NULL != hosts[nhost]) |
264 | GNUNET_TESTBED_host_destroy (hosts[nhost]); | 264 | GNUNET_TESTBED_host_destroy (hosts[nhost]); |
265 | GNUNET_free_non_null (hosts); | 265 | GNUNET_free_non_null (hosts); |
266 | while (NULL != (dll_op = dll_op_head)) | 266 | while (NULL != (dll_op = dll_op_head)) |
267 | { | 267 | { |
268 | GNUNET_TESTBED_operation_cancel (dll_op->op); | 268 | GNUNET_TESTBED_operation_done (dll_op->op); |
269 | GNUNET_CONTAINER_DLL_remove (dll_op_head, dll_op_tail, dll_op); | 269 | GNUNET_CONTAINER_DLL_remove (dll_op_head, dll_op_tail, dll_op); |
270 | GNUNET_free (dll_op); | 270 | GNUNET_free (dll_op); |
271 | } | 271 | } |