merchant

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

commit 4a074a6eb5c34989db4806c32c698d086f3984dd
parent 2fecd9db0453733ee5b0caeff9a30e6b9f39ae7d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 28 Jun 2026 18:51:46 +0200

bugs

Diffstat:
Msrc/lib/merchant_api_get-config.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/lib/merchant_api_get-config.c b/src/lib/merchant_api_get-config.c @@ -249,7 +249,7 @@ handle_get_config_finished (void *cls, cr.hr.http_status = 0; cr.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; GNUNET_free (eci); - break; + goto end_outer; } } } @@ -283,9 +283,7 @@ handle_get_config_finished (void *cls, GNUNET_break_op (0); cr.hr.http_status = 0; cr.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; - GNUNET_free (eci); - TALER_CONFIG_free_currencies (off - 1, - cspecs); + nspec = off - 1; /* see TALER_CONFIG_free_currencies() below */ break; } } @@ -307,6 +305,7 @@ handle_get_config_finished (void *cls, (int) cr.hr.ec); break; } +end_outer: gch->cb (gch->cb_cls, &cr); TALER_MERCHANT_get_config_cancel (gch);