exchange

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

commit 08f6f9922bf9480e8aaf0227c59885ee6912c1fa
parent 298bb04595825ec5a5524ae652130cacd1d9998e
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 29 Jun 2026 22:17:03 +0200

fix jrules memory leak

Diffstat:
Msrc/exchange/taler-exchange-httpd_get-kyc-check-H_NORMALIZED_PAYTO.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_get-kyc-check-H_NORMALIZED_PAYTO.c b/src/exchange/taler-exchange-httpd_get-kyc-check-H_NORMALIZED_PAYTO.c @@ -430,10 +430,12 @@ TEH_handler_kyc_check ( GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Telling MHD to suspend connection\n"); MHD_suspend_connection (kyp->connection); + json_decref (jrules); return MHD_YES; } if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs) { + GNUNET_break (NULL == jrules); GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Returning account unknown\n"); return TALER_MHD_reply_with_error (