summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/reclaim/plugin_rest_openid_connect.c6
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)
while (NULL != (ego_entry = handle->ego_head))
{
- GNUNET_CONTAINER_DLL_remove (ego_entry,
- handle->ego_head,
- handle->ego_tail);
+ GNUNET_CONTAINER_DLL_remove (handle->ego_head,
+ handle->ego_tail,
+ ego_entry);
GNUNET_free (ego_entry->identifier);
GNUNET_free (ego_entry->keystring);
GNUNET_free (ego_entry);