aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-04 12:34:12 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-04 12:34:12 +0200
commit2daa38fcde105c89d11c018d038445ed3067dcbc (patch)
tree586e77f70c1ef06129dc8bbb21ee845f84b604d7
parent2f74a5b00eeb0fca35e51abf35bd7e82b43a90ef (diff)
fix more leaks
-rw-r--r--src/exchange-tools/taler-exchange-keyup.c1
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c
index 2f70a0d5c..facb832d6 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 346f62006..01b5606a5 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,