merchant

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

commit 32653fe3d459890a21eafe7d913d6a6c7dfc718f
parent 698ade2449ed0476522cb513bc81f297405761cc
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 13 Jul 2026 00:21:48 +0200

fix leaks on error path

Diffstat:
Msrc/bank/mb_parse.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/bank/mb_parse.c b/src/bank/mb_parse.c @@ -166,6 +166,7 @@ TALER_MERCHANT_BANK_auth_parse_json ( if (NULL == method) { GNUNET_break_op (0); + GNUNET_free (auth->wire_gateway_url); return GNUNET_SYSERR; } for (unsigned int i = 0; NULL != methods[i].m; i++) @@ -243,6 +244,7 @@ TALER_MERCHANT_BANK_auth_parse_json ( } } } + GNUNET_free (auth->wire_gateway_url); return GNUNET_SYSERR; }