add missing unlock (on error path that is usually fatal anyway)
This commit is contained in:
parent
535a656625
commit
f2ba3508b3
@ -1808,6 +1808,7 @@ TEH_KS_acquire_ (struct GNUNET_TIME_Absolute now,
|
||||
/* bump RC by 1 if we released internal_key_state above */
|
||||
if (NULL == internal_key_state)
|
||||
{
|
||||
GNUNET_assert (0 == pthread_mutex_unlock (&internal_key_state_mutex));
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||
"Failed to initialize key state\n");
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user