This commit is contained in:
Christian Grothoff 2020-01-20 01:30:38 +01:00
parent 8ce6d32f63
commit 7f60da4971
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 3 additions and 3 deletions

View File

@ -1034,7 +1034,7 @@ create_wire_fee_for_method (void *cls,
opt,
&af->closing_fee)) ||
(0 != strcasecmp (currency,
af->wire_fee.currency)) )
af->closing_fee.currency)) )
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Invalid or missing amount in `%s' under `%s'\n",

View File

@ -2240,9 +2240,9 @@ read_again:
{
GNUNET_assert (0 < os->refcnt);
os->refcnt--; /* removed #internal_key_state reference */
if (0 != os->refcnt)
os = NULL; /* other aliases are still active, do not yet free */
}
if (0 != os->refcnt)
os = NULL; /* other aliases are still active, do not yet free */
GNUNET_assert (0 == pthread_mutex_unlock (&internal_key_state_mutex));
if (NULL != os)
ks_free (os); /* RC did hit zero, free */