fix dll remove
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Tue, 5 May 2020 11:49:11 +0000 (13:49 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Tue, 5 May 2020 11:49:11 +0000 (13:49 +0200)
src/reclaim/plugin_rest_openid_connect.c

index b6f82df84cab33b12da89090e20234aff8d23197..a7a8de1735a36bc866d69b5c193d889a3f749ac1 100644 (file)
@@ -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);