commit a211e1727e41496f696431fe4c752161b9dd0a7c
parent 8971dd9693afc1921087715568e2ac4ad8c837dc
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 28 Jun 2026 09:23:44 +0200
badness
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c
@@ -1474,6 +1474,7 @@ current_rules_cb (
legi_fail (lch,
TALER_EC_EXCHANGE_KYC_AML_PROGRAM_FAILURE,
NULL);
+ goto cleanup;
}
qs = TALER_EXCHANGEDB_commit (TEH_pg);
if (0 > qs)
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
@@ -1203,7 +1203,7 @@ TALER_KYCLOGIC_rules_to_limits (const json_t *jrules,
struct TALER_Amount threshold;
bool exposed = false;
const json_t *jmeasures;
- const char *rule_name;
+ const char *rule_name = NULL;
enum TALER_KYCLOGIC_KycTriggerEvent operation_type;
struct GNUNET_JSON_Specification spec[] = {
TALER_JSON_spec_kycte ("operation_type",