[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] 01/02: fix more leaks
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] 01/02: fix more leaks |
Date: |
Mon, 05 Jun 2017 00:17:43 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 2daa38fcde105c89d11c018d038445ed3067dcbc
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jun 4 12:34:12 2017 +0200
fix more leaks
---
src/exchange-tools/taler-exchange-keyup.c | 1 +
src/exchange/taler-exchange-httpd_responses.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/exchange-tools/taler-exchange-keyup.c
b/src/exchange-tools/taler-exchange-keyup.c
index 2f70a0d..facb832 100644
--- a/src/exchange-tools/taler-exchange-keyup.c
+++ b/src/exchange-tools/taler-exchange-keyup.c
@@ -982,6 +982,7 @@ create_wire_fee_for_method (void *cls,
break;
}
GNUNET_free (amounts);
+ GNUNET_free (opt);
/* handle closing fee */
GNUNET_asprintf (&opt,
diff --git a/src/exchange/taler-exchange-httpd_responses.c
b/src/exchange/taler-exchange-httpd_responses.c
index 346f620..01b5606 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -769,7 +769,7 @@ compile_reserve_history (const struct
TALER_EXCHANGEDB_ReserveHistory *rh,
ret |= 1;
GNUNET_assert (0 ==
json_array_append_new (json_history,
- json_pack ("{s:s, s:O, s:O, s:o}",
+ json_pack ("{s:s, s:O, s:o, s:o}",
"type", "DEPOSIT",
"sender_account_details", pos->details.bank->sender_account_details,
"wire_reference",
GNUNET_JSON_from_data (pos->details.bank->wire_reference,
--
To stop receiving notification emails like this one, please contact
address@hidden