Compare commits

...

2 Commits

Author SHA1 Message Date
17001e445d
-free spec 2023-06-26 09:44:33 +02:00
c5c3a44c25
-comment updates 2023-06-26 09:44:22 +02:00
3 changed files with 7 additions and 4 deletions

View File

@ -91,7 +91,11 @@ free_age_withdraw_context_resources (struct AgeWithdrawContext *awc)
GNUNET_free (awc->denom_hs);
GNUNET_free (awc->coin_evs);
GNUNET_free (awc->commitment.denom_serials);
/* commitment.denom_serials and .h_coin_evs are stack allocated */
/*
* Note:
* awc->commitment.denom_sigs and .h_coin_evs were stack allocated and
* .denom_pub_hashes is NULL for this context.
*/
}
@ -420,8 +424,6 @@ are_denominations_valid (
struct TEH_KeyStateHandle *ksh;
uint64_t *serials;
GNUNET_assert (*denom_serials == NULL);
ksh = TEH_keys_get_state ();
if (NULL == ksh)
{

View File

@ -586,6 +586,7 @@ TEH_handler_age_withdraw_reveal (
} while(0);
GNUNET_JSON_parse_free (spec);
GNUNET_free (actx.disclosed_coin_secrets);
return result;
}

View File

@ -1245,7 +1245,7 @@ struct TALER_EXCHANGEDB_AgeWithdraw
uint64_t *denom_serials;
/**
* Array of @a num_coins hashes of the public keys of the denominations
* [out]-Array of @a num_coins hashes of the public keys of the denominations
* identified by @e denom_serials. This field is set when calling
* get_age_withdraw
*/