bugfixes
This commit is contained in:
parent
8ce6d32f63
commit
7f60da4971
@ -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",
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user