summaryrefslogtreecommitdiff
path: root/src/kyclogic
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-17 16:57:29 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-17 16:57:29 +0100
commit86e0f2c70d07c7c5e1656667bd818498ea55d0a4 (patch)
treedba9439c62d1b017319d9e313a82b33ea6c68187 /src/kyclogic
parent87a78c6f8ce1d50a5f61eb5c3f222cdef0b635ee (diff)
downloadexchange-86e0f2c70d07c7c5e1656667bd818498ea55d0a4.tar.gz
exchange-86e0f2c70d07c7c5e1656667bd818498ea55d0a4.tar.bz2
exchange-86e0f2c70d07c7c5e1656667bd818498ea55d0a4.zip
fix memory leak and transaction error handling related to KYC
Diffstat (limited to 'src/kyclogic')
-rw-r--r--src/kyclogic/kyclogic_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
index b82a6c065..e1aff0204 100644
--- a/src/kyclogic/kyclogic_api.c
+++ b/src/kyclogic/kyclogic_api.c
@@ -1064,7 +1064,7 @@ TALER_KYCLOGIC_kyc_test_required (enum TALER_KYCLOGIC_KycTriggerEvent event,
void *ki_cls,
TALER_KYCLOGIC_KycAmountIterator ai,
void *ai_cls,
- const char **required)
+ char **required)
{
struct TALER_KYCLOGIC_KycCheck *needed[num_kyc_checks];
unsigned int needed_cnt = 0;