From 745a48ef7c01170c2b37bfe7849f9704f8ecc274 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 15 Dec 2019 13:11:38 +0100 Subject: fix double free in test --- src/bank-lib/test_bank_api_twisted.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/bank-lib/test_bank_api_twisted.c b/src/bank-lib/test_bank_api_twisted.c index 293bef30f..2d2483d49 100644 --- a/src/bank-lib/test_bank_api_twisted.c +++ b/src/bank-lib/test_bank_api_twisted.c @@ -73,6 +73,7 @@ static struct GNUNET_OS_Process *twisterd; */ static struct GNUNET_OS_Process *bankd; + /** * Main function that will tell * the interpreter what commands to run. @@ -83,16 +84,13 @@ static void run (void *cls, struct TALER_TESTING_Interpreter *is) { - struct TALER_TESTING_Command commands[] = { - /** * Can't use the "wait service" CMD here because the * fakebank runs inside the same process of the test. */ TALER_TESTING_cmd_wait_service ("wait-service", TWISTED_BANK_URL), - TALER_TESTING_cmd_bank_history ("history-0", TWISTED_BANK_URL, EXCHANGE_ACCOUNT_NUMBER, @@ -136,11 +134,9 @@ main (int argc, /* These environment variables get in the way... */ unsetenv ("XDG_DATA_HOME"); unsetenv ("XDG_CONFIG_HOME"); - GNUNET_log_setup ("test-bank-api-with-(fake)bank-twisted", "DEBUG", NULL); - if (NULL == (twister_url = TALER_TESTING_prepare_twister (CONFIG_FILE))) { @@ -203,7 +199,6 @@ main (int argc, SIGKILL); GNUNET_OS_process_wait (bankd); GNUNET_OS_process_destroy (bankd); - GNUNET_free (bank_url); } GNUNET_free (twister_url); -- cgit v1.2.3