donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 839c409567e841419adb52f94b563d2e4a7cbaf4
parent 65d08ff221caa2a432551624c189ebf93332ee4a
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Fri, 17 Jul 2026 19:18:11 +0200

fix leaks

Diffstat:
Msrc/lib/donau_api_batch_issue_receipts.c | 1+
Msrc/lib/donau_api_batch_submit_receipts.c | 1+
Msrc/lib/donau_api_charity_post.c | 1+
Msrc/lib/donau_api_csr_post.c | 1+
4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/lib/donau_api_batch_issue_receipts.c b/src/lib/donau_api_batch_issue_receipts.c @@ -356,6 +356,7 @@ DONAU_charity_issue_receipt ( curl_easy_cleanup (eh); json_decref (body); GNUNET_free (birh->url); + GNUNET_free (birh); return NULL; } json_decref (body); diff --git a/src/lib/donau_api_batch_submit_receipts.c b/src/lib/donau_api_batch_submit_receipts.c @@ -228,6 +228,7 @@ DONAU_donor_receipts_to_statement ( curl_easy_cleanup (eh); json_decref (body); GNUNET_free (birh->url); + GNUNET_free (birh); return NULL; } json_decref (body); diff --git a/src/lib/donau_api_charity_post.c b/src/lib/donau_api_charity_post.c @@ -202,6 +202,7 @@ DONAU_charity_post ( curl_easy_cleanup (eh); json_decref (body); GNUNET_free (cph->url); + GNUNET_free (cph); return NULL; } json_decref (body); diff --git a/src/lib/donau_api_csr_post.c b/src/lib/donau_api_csr_post.c @@ -208,6 +208,7 @@ DONAU_csr_issue ( curl_easy_cleanup (eh); json_decref (body); GNUNET_free (csrh->url); + GNUNET_free (csrh); return NULL; } json_decref (body);