exchange

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

commit 95704454b53cc870d58b29839aaeb088e0cd4538
parent 08f6f9922bf9480e8aaf0227c59885ee6912c1fa
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 29 Jun 2026 22:18:02 +0200

fix jrules memory leak

Diffstat:
Msrc/exchange/taler-exchange-httpd_get-aml-OFFICER_PUB-kyc-statistics-NAMES.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_get-aml-OFFICER_PUB-kyc-statistics-NAMES.c b/src/exchange/taler-exchange-httpd_get-aml-OFFICER_PUB-kyc-statistics-NAMES.c @@ -144,12 +144,14 @@ TEH_handler_aml_kyc_statistics_get ( case GNUNET_DB_STATUS_HARD_ERROR: case GNUNET_DB_STATUS_SOFT_ERROR: GNUNET_break (0); + json_decref (stats); return TALER_MHD_reply_with_error ( rc->connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_GENERIC_DB_FETCH_FAILED, "select_aml_statistics"); case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS: + json_decref (stats); return TALER_MHD_reply_static ( rc->connection, MHD_HTTP_NO_CONTENT,