commit 8877a3349edc67fed937553404c17c60179f73b7 parent 839c409567e841419adb52f94b563d2e4a7cbaf4 Author: Christian Grothoff <grothoff@gnunet.org> Date: Fri, 17 Jul 2026 19:18:35 +0200 fix leaks Diffstat:
| M | src/lib/donau_api_batch_issue_receipts.c | | | 4 | ++++ |
| M | src/lib/donau_api_charities_get.c | | | 1 | + |
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/lib/donau_api_batch_issue_receipts.c b/src/lib/donau_api_batch_issue_receipts.c @@ -152,6 +152,10 @@ handle_batch_issue_ok (const json_t *resp_obj, NULL)) { GNUNET_break_op (0); + for (size_t k = 0; k < index; k++) + GNUNET_CRYPTO_blinded_sig_decref ( + biresp->details.ok.blinded_sigs[k].blinded_sig); + GNUNET_free (biresp->details.ok.blinded_sigs); return GNUNET_SYSERR; } } diff --git a/src/lib/donau_api_charities_get.c b/src/lib/donau_api_charities_get.c @@ -112,6 +112,7 @@ handle_charities_get_ok (const json_t *resp_obj, NULL)) { GNUNET_break_op (0); + GNUNET_free (charities); return GNUNET_SYSERR; } }