aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_new.c')
-rw-r--r--src/testing/testing_new.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testing/testing_new.c b/src/testing/testing_new.c
index c19f5c8e1..c45b89e29 100644
--- a/src/testing/testing_new.c
+++ b/src/testing/testing_new.c
@@ -965,9 +965,11 @@ GNUNET_TESTING_service_run (const char *tmppath,
965 if (NULL == peer) 965 if (NULL == peer)
966 { 966 {
967 GNUNET_CONFIGURATION_destroy (cfg); 967 GNUNET_CONFIGURATION_destroy (cfg);
968 GNUNET_TESTING_hostkeys_unload (system);
968 GNUNET_TESTING_system_destroy (system, GNUNET_YES); 969 GNUNET_TESTING_system_destroy (system, GNUNET_YES);
969 return 1; 970 return 1;
970 } 971 }
972 GNUNET_TESTING_hostkeys_unload (system);
971 GNUNET_free (peer->main_binary); 973 GNUNET_free (peer->main_binary);
972 GNUNET_asprintf (&peer->main_binary, "gnunet-service-%s", service_name); 974 GNUNET_asprintf (&peer->main_binary, "gnunet-service-%s", service_name);
973 if (GNUNET_OK != GNUNET_TESTING_peer_start (peer)) 975 if (GNUNET_OK != GNUNET_TESTING_peer_start (peer))