aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_topo.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-02-24 15:57:13 +0000
committerBart Polot <bart@net.in.tum.de>2012-02-24 15:57:13 +0000
commit3c30d9be2e4c02b9d7a94191ad050fd83a011e09 (patch)
tree0d9cd15c32433b56ef83dc08a9ec47bc250e5fed /src/dht/test_dht_topo.c
parent425613b68d5e8f66dd3462bf6b47c64b3534ee96 (diff)
downloadgnunet-3c30d9be2e4c02b9d7a94191ad050fd83a011e09.tar.gz
gnunet-3c30d9be2e4c02b9d7a94191ad050fd83a011e09.zip
- Fixed crashes when ctrl-c testcases
Diffstat (limited to 'src/dht/test_dht_topo.c')
-rw-r--r--src/dht/test_dht_topo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/test_dht_topo.c b/src/dht/test_dht_topo.c
index a4f150ef5..38d9bffad 100644
--- a/src/dht/test_dht_topo.c
+++ b/src/dht/test_dht_topo.c
@@ -155,6 +155,7 @@ shutdown_callback (void *cls, const char *emsg)
155 "test: All peers successfully shut down!\n"); 155 "test: All peers successfully shut down!\n");
156#endif 156#endif
157 } 157 }
158 GNUNET_CONFIGURATION_destroy (testing_cfg);
158} 159}
159 160
160 161
@@ -174,7 +175,6 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
174 if (data_file != NULL) 175 if (data_file != NULL)
175 GNUNET_DISK_file_close (data_file); 176 GNUNET_DISK_file_close (data_file);
176 GNUNET_TESTING_daemons_stop (pg, TIMEOUT, &shutdown_callback, NULL); 177 GNUNET_TESTING_daemons_stop (pg, TIMEOUT, &shutdown_callback, NULL);
177 GNUNET_CONFIGURATION_destroy (testing_cfg);
178} 178}
179 179
180 180