commit ec65b326055ee2a0b3850fde6135fa215cd0ff30
parent 09a84e2e0c53c15ffab6d787dba85a0bea0e5dbe
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 13 Aug 2026 21:28:53 +0200
fix cleanup
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c
@@ -1389,6 +1389,7 @@ current_rules_cb (
const struct TALER_KYCLOGIC_KycRule *requirement;
const struct TALER_KYCLOGIC_Measure *instant_ms;
+ lch->ru = NULL;
GNUNET_async_scope_enter (&lch->scope,
&old_scope);
if (TALER_EC_NONE != rur->ec)
@@ -1760,6 +1761,11 @@ TEH_legitimization_check_cancel (
TEH_kyc_run_measure_cancel (lch->kat);
lch->kat = NULL;
}
+ if (NULL != lch->ru)
+ {
+ TALER_EXCHANGEDB_begin_rule_update_cancel (lch->ru);
+ lch->ru = NULL;
+ }
if (NULL != lch->lcr.response)
{
MHD_destroy_response (lch->lcr.response);