diff options
-rw-r--r-- | src/reclaim/plugin_rest_openid_connect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index b6f82df84..a7a8de173 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c | |||
@@ -584,9 +584,9 @@ cleanup_handle (struct RequestHandle *handle) | |||
584 | 584 | ||
585 | while (NULL != (ego_entry = handle->ego_head)) | 585 | while (NULL != (ego_entry = handle->ego_head)) |
586 | { | 586 | { |
587 | GNUNET_CONTAINER_DLL_remove (ego_entry, | 587 | GNUNET_CONTAINER_DLL_remove (handle->ego_head, |
588 | handle->ego_head, | 588 | handle->ego_tail, |
589 | handle->ego_tail); | 589 | ego_entry); |
590 | GNUNET_free (ego_entry->identifier); | 590 | GNUNET_free (ego_entry->identifier); |
591 | GNUNET_free (ego_entry->keystring); | 591 | GNUNET_free (ego_entry->keystring); |
592 | GNUNET_free (ego_entry); | 592 | GNUNET_free (ego_entry); |