diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-15 12:04:27 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-15 12:04:27 +0000 |
commit | 2d1d94da00e8aa28c9db86462daf80ab58a3a660 (patch) | |
tree | ca933cdf127c671414789dd11da570c1050adaa8 /src/testbed/test_testbed_api_controllerlink.c | |
parent | 9122bceef097dd520e236d04d086d2bd061cc6f9 (diff) | |
download | gnunet-2d1d94da00e8aa28c9db86462daf80ab58a3a660.tar.gz gnunet-2d1d94da00e8aa28c9db86462daf80ab58a3a660.zip |
- fixes
Diffstat (limited to 'src/testbed/test_testbed_api_controllerlink.c')
-rw-r--r-- | src/testbed/test_testbed_api_controllerlink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testbed/test_testbed_api_controllerlink.c b/src/testbed/test_testbed_api_controllerlink.c index b640dea4c..b3e13f1ff 100644 --- a/src/testbed/test_testbed_api_controllerlink.c +++ b/src/testbed/test_testbed_api_controllerlink.c | |||
@@ -299,6 +299,10 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
299 | } | 299 | } |
300 | if (NULL != hc_handle) | 300 | if (NULL != hc_handle) |
301 | GNUNET_TESTBED_is_host_habitable_cancel (hc_handle); | 301 | GNUNET_TESTBED_is_host_habitable_cancel (hc_handle); |
302 | if (NULL != mc) | ||
303 | GNUNET_TESTBED_controller_disconnect (mc); | ||
304 | if (NULL != cp) | ||
305 | GNUNET_TESTBED_controller_stop (cp); | ||
302 | if (NULL != slave3) | 306 | if (NULL != slave3) |
303 | GNUNET_TESTBED_host_destroy (slave3); | 307 | GNUNET_TESTBED_host_destroy (slave3); |
304 | if (NULL != slave2) | 308 | if (NULL != slave2) |
@@ -307,14 +311,10 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
307 | GNUNET_TESTBED_host_destroy (slave); | 311 | GNUNET_TESTBED_host_destroy (slave); |
308 | if (NULL != host) | 312 | if (NULL != host) |
309 | GNUNET_TESTBED_host_destroy (host); | 313 | GNUNET_TESTBED_host_destroy (host); |
310 | if (NULL != mc) | ||
311 | GNUNET_TESTBED_controller_disconnect (mc); | ||
312 | if (NULL != cfg) | 314 | if (NULL != cfg) |
313 | GNUNET_CONFIGURATION_destroy (cfg); | 315 | GNUNET_CONFIGURATION_destroy (cfg); |
314 | if (NULL != cfg3) | 316 | if (NULL != cfg3) |
315 | GNUNET_CONFIGURATION_destroy (cfg3); | 317 | GNUNET_CONFIGURATION_destroy (cfg3); |
316 | if (NULL != cp) | ||
317 | GNUNET_TESTBED_controller_stop (cp); | ||
318 | if (NULL != rh) | 318 | if (NULL != rh) |
319 | GNUNET_TESTBED_cancel_registration (rh); | 319 | GNUNET_TESTBED_cancel_registration (rh); |
320 | } | 320 | } |