summaryrefslogtreecommitdiff
path: root/src/exchange-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-19 00:09:10 +0200
committerChristian Grothoff <christian@grothoff.org>2016-10-19 00:09:10 +0200
commitbe055f1b9274c6a142fcba4f3687b5aa1532a379 (patch)
tree7f353512d081cd53724409f975050f08655f4c44 /src/exchange-lib
parent70462f0b94d933bec7b735fecb66a75a45c91c66 (diff)
downloadexchange-be055f1b9274c6a142fcba4f3687b5aa1532a379.tar.gz
exchange-be055f1b9274c6a142fcba4f3687b5aa1532a379.tar.bz2
exchange-be055f1b9274c6a142fcba4f3687b5aa1532a379.zip
fix recently introduced double-free
Diffstat (limited to 'src/exchange-lib')
-rw-r--r--src/exchange-lib/exchange_api_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange-lib/exchange_api_common.c b/src/exchange-lib/exchange_api_common.c
index acf90fce6..e6ab2cbc2 100644
--- a/src/exchange-lib/exchange_api_common.c
+++ b/src/exchange-lib/exchange_api_common.c
@@ -38,8 +38,8 @@
*/
int
TALER_EXCHANGE_verify_coin_history (const char *currency,
- const struct TALER_CoinSpendPublicKeyP *coin_pub,
- json_t *history,
+ const struct TALER_CoinSpendPublicKeyP *coin_pub,
+ json_t *history,
struct TALER_Amount *total)
{
size_t len;