gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: KYC: fix API call and memory lea


From: gnunet
Subject: [taler-exchange] branch master updated: KYC: fix API call and memory leak
Date: Sat, 28 Jan 2023 17:45:59 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 99753a5d KYC: fix API call and memory leak
99753a5d is described below

commit 99753a5d31868af36285418ed317eeef50921b67
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jan 28 17:45:56 2023 +0100

    KYC: fix API call and memory leak
---
 src/kyclogic/plugin_kyclogic_kycaid.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/kyclogic/plugin_kyclogic_kycaid.c 
b/src/kyclogic/plugin_kyclogic_kycaid.c
index 6ea1740e..3273a51f 100644
--- a/src/kyclogic/plugin_kyclogic_kycaid.c
+++ b/src/kyclogic/plugin_kyclogic_kycaid.c
@@ -588,6 +588,7 @@ kycaid_initiate (void *cls,
     json_decref (body);
     return NULL;
   }
+  json_decref (body);
   ih->job = GNUNET_CURL_job_add2 (ps->curl_ctx,
                                   eh,
                                   ih->ctx.headers,
@@ -1382,7 +1383,7 @@ kycaid_webhook (void *cls,
 
   GNUNET_asprintf (&wh->url,
                    "https://api.kycaid.com/applicants/%s";,
-                   verification_id);
+                   applicant_id);
   GNUNET_break (CURLE_OK ==
                 curl_easy_setopt (eh,
                                   CURLOPT_VERBOSE,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]