donau

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

commit 781c2eaf5d344c01ad2d87b6659b1b515f9bad63
parent 0db174ebfc2666a07bf3efb27166983d4386dfbe
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Fri, 17 Jul 2026 19:36:24 +0200

-DCE

Diffstat:
Msrc/include/donau_service.h | 5-----
Msrc/lib/donau_api_handle.c | 2+-
2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/include/donau_service.h b/src/include/donau_service.h @@ -142,11 +142,6 @@ struct DONAU_Keys unsigned int num_donation_unit_keys; /** - * Actual length of the @e donation_unit_keys array (size of allocation). - */ - unsigned int donation_unit_keys_size; - - /** * Reference counter for this structure. * Freed when it reaches 0. */ diff --git a/src/lib/donau_api_handle.c b/src/lib/donau_api_handle.c @@ -873,7 +873,7 @@ DONAU_keys_decref (struct DONAU_Keys *keys) DONAU_donation_unit_pub_free (&keys->donation_unit_keys[i].key); GNUNET_array_grow (keys->donation_unit_keys, - keys->donation_unit_keys_size, + keys->num_donation_unit_keys, 0); GNUNET_free (keys->version); GNUNET_free (keys->currency);