exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 84db88e17ada89502a52d9006f20aa6205a78f5d
parent 75cf758964c6c326ad3d9f2a10939f29e2fc3428
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 12 Jul 2026 21:53:42 +0200

fix leak on error path

Diffstat:
Msrc/lib/exchange_api_handle.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c @@ -1508,6 +1508,9 @@ TALER_EXCHANGE_decode_keys_json_ ( return GNUNET_OK; EXITIF_exit: + GNUNET_array_grow (sig_ctx.elements, + sig_ctx.elements_size, + 0); *vc = TALER_EXCHANGE_VC_PROTOCOL_ERROR; return GNUNET_SYSERR; }