merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 9b5aa1081cdcc00699c8d208b7df979e2248e865
parent 196ae95a870014065cb1204b253c369d9547aead
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 25 Oct 2025 19:05:22 +0200

fix leak (#10505)

Diffstat:
Msrc/backend/taler-merchant-httpd_post-orders-ID-pay.c | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -4923,6 +4923,14 @@ pay_context_cleanup (void *cls) pc->parse_wallet_data.donau_keys = NULL; } #endif + for (unsigned int i = 0; i<pc->parse_wallet_data.token_envelopes_cnt; i++) + { + struct TokenEnvelope *ev + = &pc->parse_wallet_data.token_envelopes[i]; + + GNUNET_CRYPTO_blinded_message_decref (ev->blinded_token.blinded_pub); + } + GNUNET_free (pc->parse_wallet_data.token_envelopes); if (NULL != pc->output_tokens) { for (unsigned int i = 0; i<pc->output_tokens_len; i++)