[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix double free in test
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix double free in test |
Date: |
Sun, 15 Dec 2019 13:12:17 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 745a48ef fix double free in test
745a48ef is described below
commit 745a48ef7c01170c2b37bfe7849f9704f8ecc274
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Dec 15 13:11:38 2019 +0100
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 293bef30..2d2483d4 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);
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix double free in test,
gnunet <=