KYC: fix API call and memory leak
This commit is contained in:
parent
92f16aad51
commit
99753a5d31
@ -588,6 +588,7 @@ kycaid_initiate (void *cls,
|
|||||||
json_decref (body);
|
json_decref (body);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
json_decref (body);
|
||||||
ih->job = GNUNET_CURL_job_add2 (ps->curl_ctx,
|
ih->job = GNUNET_CURL_job_add2 (ps->curl_ctx,
|
||||||
eh,
|
eh,
|
||||||
ih->ctx.headers,
|
ih->ctx.headers,
|
||||||
@ -1382,7 +1383,7 @@ kycaid_webhook (void *cls,
|
|||||||
|
|
||||||
GNUNET_asprintf (&wh->url,
|
GNUNET_asprintf (&wh->url,
|
||||||
"https://api.kycaid.com/applicants/%s",
|
"https://api.kycaid.com/applicants/%s",
|
||||||
verification_id);
|
applicant_id);
|
||||||
GNUNET_break (CURLE_OK ==
|
GNUNET_break (CURLE_OK ==
|
||||||
curl_easy_setopt (eh,
|
curl_easy_setopt (eh,
|
||||||
CURLOPT_VERBOSE,
|
CURLOPT_VERBOSE,
|
||||||
|
Loading…
Reference in New Issue
Block a user