commit 3b926aab76719bc0b192e3aae67448148c1027b2
parent 75417f94c117a7ee6210eefec576ceac7762a9ca
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date: Mon, 29 Apr 2024 00:15:17 +0200
cleanup
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/lib/donau_api_batch_issue_receipts.c b/src/lib/donau_api_batch_issue_receipts.c
@@ -128,7 +128,6 @@ handle_batch_issue_ok (const json_t *resp_obj,
biresp->details.ok.blinded_sigs =
GNUNET_malloc (sizeof(struct DONAU_BlindedDonationUnitSignature)
* birh->num_blinded_sigs);
- struct DONAU_BlindedDonationUnitSignature du_sigs[birh->num_blinded_sigs];
size_t index;
json_t *du_sig_obj;
json_array_foreach (j_blind_signatures,
@@ -148,8 +147,6 @@ handle_batch_issue_ok (const json_t *resp_obj,
NULL))
{
GNUNET_break_op (0);
- for (size_t i = 0; i<index; i++)
- DONAU_blinded_donation_unit_sig_free (&du_sigs[i]);
return GNUNET_SYSERR;
}
}