diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-26 21:16:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-26 21:16:24 +0000 |
commit | 3583a0bac28a23487570269cb994add5ee514cf5 (patch) | |
tree | 660e0447ae4767458f8fc786a3fe4fd16beb1dbc | |
parent | 92cde9afed5fe60e19d8ede47b73201a8f91a7c0 (diff) | |
download | gnunet-3583a0bac28a23487570269cb994add5ee514cf5.tar.gz gnunet-3583a0bac28a23487570269cb994add5ee514cf5.zip |
-LRN: fix host list freeing in testbed
-rw-r--r-- | src/testbed/gnunet-service-testbed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c index 93a1cf815..a85ac7f49 100644 --- a/src/testbed/gnunet-service-testbed.c +++ b/src/testbed/gnunet-service-testbed.c | |||
@@ -516,7 +516,7 @@ shutdown_task (void *cls, | |||
516 | for (host_id = 0; host_id < host_list_size; host_id++) | 516 | for (host_id = 0; host_id < host_list_size; host_id++) |
517 | if (NULL != host_list[host_id]) | 517 | if (NULL != host_list[host_id]) |
518 | GNUNET_TESTBED_host_destroy (host_list[host_id]); | 518 | GNUNET_TESTBED_host_destroy (host_list[host_id]); |
519 | GNUNET_free (host_list); | 519 | GNUNET_free_non_null (host_list); |
520 | GNUNET_free_non_null (master_context); | 520 | GNUNET_free_non_null (master_context); |
521 | master_context = NULL; | 521 | master_context = NULL; |
522 | } | 522 | } |