exchange

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

commit c329e9f9d6186bb9d88c81308424c94575095e03
parent 650fea0a677b13119a037a2efe3b6114fc71749f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 25 Oct 2025 22:09:05 +0200

fix leak (#10505)

Diffstat:
Msrc/exchange/taler-exchange-httpd_aml-decision.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_aml-decision.c b/src/exchange/taler-exchange-httpd_aml-decision.c @@ -236,6 +236,8 @@ TEH_handler_post_aml_decision ( struct GNUNET_TIME_Timestamp expiration_time; json_t *jmeasures = NULL; bool is_wallet; + size_t eas = 0; + void *ea = NULL; if (NULL == adc) { @@ -357,8 +359,6 @@ TEH_handler_post_aml_decision ( bool invalid_officer = true; bool unknown_account = false; struct GNUNET_HashCode h_attr = { 0 }; - size_t eas = 0; - void *ea = NULL; const char *form_id = NULL; if (NULL != attributes) @@ -515,6 +515,7 @@ TEH_handler_post_aml_decision ( done: TALER_KYCLOGIC_rules_free (lrs); + GNUNET_free (ea); return ret; }