summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-05 13:49:11 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-05 13:49:11 +0200
commit5f2f94367d366613426925eea30a8549d61280d1 (patch)
tree54da231a49471351f897f9dd5e4742e27d7e0853
parent9d3d1ad5ae075504a74d6579ee0077a3ca46c41a (diff)
fix dll remove
-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);