summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_batch_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-12-23 10:24:16 +0800
committerChristian Grothoff <grothoff@gnunet.org>2023-12-23 10:24:16 +0800
commit7a39d112f0b266b53a45f80ecc6bbde7fdf8675d (patch)
treeb2bdfe52fa6fbdc40570a31d9bcf2d757315674a /src/testing/testing_api_cmd_batch_withdraw.c
parent54a19689ab02a413e360ab2267c0c5a899b95711 (diff)
downloadexchange-7a39d112f0b266b53a45f80ecc6bbde7fdf8675d.tar.gz
exchange-7a39d112f0b266b53a45f80ecc6bbde7fdf8675d.tar.bz2
exchange-7a39d112f0b266b53a45f80ecc6bbde7fdf8675d.zip
-fix missing RC bumps in test
Diffstat (limited to 'src/testing/testing_api_cmd_batch_withdraw.c')
-rw-r--r--src/testing/testing_api_cmd_batch_withdraw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_batch_withdraw.c b/src/testing/testing_api_cmd_batch_withdraw.c
index 75311e7dc..a106b8150 100644
--- a/src/testing/testing_api_cmd_batch_withdraw.c
+++ b/src/testing/testing_api_cmd_batch_withdraw.c
@@ -216,7 +216,8 @@ reserve_batch_withdraw_cb (void *cls,
&cs->coin_pub.eddsa_pub);
cs->bks = pcd->bks;
- cs->exchange_vals = pcd->exchange_vals;
+ TALER_denom_ewv_deep_copy (&cs->exchange_vals,
+ &pcd->exchange_vals);
}
break;
case MHD_HTTP_FORBIDDEN:
@@ -370,6 +371,7 @@ batch_withdraw_cleanup (void *cls,
{
struct CoinState *cs = &ws->coins[i];
+ TALER_denom_ewv_free (&cs->exchange_vals);
TALER_denom_sig_free (&cs->sig);
if (NULL != cs->pk)
{