aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-11-06 13:39:47 +0100
committerFlorian Dold <florian@dold.me>2024-11-06 13:39:47 +0100
commitebd13a5d5dc206dfe4f0544cba262af6ce565a64 (patch)
treeb36862f45159c745f88e2bb26244ce24366cd0d9
parenteac1f4cdbe947025ce8c7dfd3af7a17cef2edf88 (diff)
-fix double free
-rw-r--r--src/exchange/taler-exchange-httpd_common_kyc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_common_kyc.c b/src/exchange/taler-exchange-httpd_common_kyc.c
index 4cdc5639e..95466781f 100644
--- a/src/exchange/taler-exchange-httpd_common_kyc.c
+++ b/src/exchange/taler-exchange-httpd_common_kyc.c
@@ -1770,7 +1770,6 @@ legitimization_check_run (
lch->lcr.kyc.ok = true;
lch->lcr.expiration_date
= TALER_KYCLOGIC_rules_get_expiration (lrs);
- TALER_KYCLOGIC_rules_free (lrs);
memset (&lch->lcr.next_threshold,
0,
sizeof (struct TALER_Amount));