aboutsummaryrefslogtreecommitdiff
path: root/src/nse/gnunet-nse-profiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nse/gnunet-nse-profiler.c')
-rw-r--r--src/nse/gnunet-nse-profiler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c
index 225a4202a..850817bdd 100644
--- a/src/nse/gnunet-nse-profiler.c
+++ b/src/nse/gnunet-nse-profiler.c
@@ -299,6 +299,9 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
299 // FIXME: what about closing other files!? 299 // FIXME: what about closing other files!?
300 if (NULL != data_file) 300 if (NULL != data_file)
301 GNUNET_DISK_file_close (data_file); 301 GNUNET_DISK_file_close (data_file);
302 if (NULL != testing_cfg)
303 GNUNET_CONFIGURATION_destroy (testing_cfg);
304 testing_cfg = NULL;
302} 305}
303 306
304 307
@@ -891,6 +894,7 @@ controller_start_cb (void *cls,
891 return; 894 return;
892 } 895 }
893 num_hosts = GNUNET_TESTBED_hosts_load_from_file (hosts_file, 896 num_hosts = GNUNET_TESTBED_hosts_load_from_file (hosts_file,
897 testing_cfg,
894 &hosts); 898 &hosts);
895 if (0 == num_hosts) 899 if (0 == num_hosts)
896 { 900 {