From a6b35ee7d345aa11e0388733fb95f3a4d2e52180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Fri, 12 Jan 2024 11:56:55 +0100 Subject: fixes for #8069, #8070 and #8072 - TALER_coin_ev_hash function now returns void - double free fixes - FAIL_IF logic fixes --- src/testing/testing_api_cmd_age_withdraw.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/testing') diff --git a/src/testing/testing_api_cmd_age_withdraw.c b/src/testing/testing_api_cmd_age_withdraw.c index 30f409f4a..6ad22809e 100644 --- a/src/testing/testing_api_cmd_age_withdraw.c +++ b/src/testing/testing_api_cmd_age_withdraw.c @@ -585,6 +585,7 @@ age_withdraw_reveal_cb ( awrs->denom_sigs = GNUNET_new_array (awrs->num_coins, struct TALER_DenominationSignature); for (size_t n = 0; n < awrs->num_coins; n++) + { GNUNET_assert (GNUNET_OK == TALER_denom_sig_unblind ( &awrs->denom_sigs[n], @@ -593,8 +594,12 @@ age_withdraw_reveal_cb ( &aws->coin_outputs[n].details.h_coin_pub, &aws->coin_outputs[n].details.alg_values, &aws->coin_inputs[n].denom_pub->key)); + TALER_denom_sig_free (&awrs->denom_sigs[n]); + } + GNUNET_log (GNUNET_ERROR_TYPE_INFO, "age-withdraw reveal success!\n"); + GNUNET_free (awrs->denom_sigs); } break; case MHD_HTTP_NOT_FOUND: -- cgit v1.2.3