merchant

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

commit d9e3d0cdfe83368000068959fc32befbd5be0c46
parent 2c9b6f560613623923304c9cdbc9ea6463f594f3
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 22 Mar 2024 14:16:58 +0100

fix error handling logic in merchant_api_get_config

Diffstat:
Msrc/lib/merchant_api_get_config.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/merchant_api_get_config.c b/src/lib/merchant_api_get_config.c @@ -243,6 +243,8 @@ handle_config_finished (void *cls, cr.hr.http_status = 0; cr.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; GNUNET_free (eci); + TALER_CONFIG_free_currencies (off - 1, + cspecs); break; } } @@ -263,10 +265,10 @@ handle_config_finished (void *cls, "Unexpected response code %u/%d\n", (unsigned int) response_code, (int) cr.hr.ec); - vgh->cb (vgh->cb_cls, - &cr); break; } + vgh->cb (vgh->cb_cls, + &cr); TALER_MERCHANT_config_get_cancel (vgh); }