This commit is contained in:
Christian Grothoff 2020-01-20 01:37:49 +01:00
parent 859337eabb
commit e090d69cb0
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1922,8 +1922,7 @@ TEH_KS_acquire_ (struct GNUNET_TIME_Absolute now,
(internal_key_state->next_reload.abs_value_us <= now.abs_value_us) ) ||
(NULL == internal_key_state) )
{
struct TEH_KS_StateHandle *os = internal_key_state;
os = internal_key_state;
internal_key_state = make_fresh_key_state (now);
internal_key_state->refcnt = 1; /* alias from #internal_key_state */
if (NULL != os)