merchant

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

commit fa90d0f0e5eb0ddff7a3720bf450c8c861244a31
parent 37c389ab30a037fa8d60986e9b034c20920e07b4
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 26 Oct 2025 02:13:59 +0100

-style fix

Diffstat:
Msrc/util/contract_parse.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/util/contract_parse.c b/src/util/contract_parse.c @@ -345,7 +345,6 @@ TALER_MERCHANT_parse_choice_output ( * @param cls closure, pointer to array length * @param root the json array representing the choices * @param[out] ospec where to write the data - * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ static enum GNUNET_GenericReturnValue @@ -538,7 +537,9 @@ contract_choice_free ( j<output->details.donation_receipt.donau_urls_len; j++) GNUNET_free (output->details.donation_receipt.donau_urls[j]); - GNUNET_free (output->details.donation_receipt.donau_urls); + GNUNET_array_grow (output->details.donation_receipt.donau_urls, + output->details.donation_receipt.donau_urls_len, + 0); break; #if FUTURE case TALER_MERCHANT_CONTRACT_OUTPUT_TYPE_COIN: