From: Schanzenbach, Martin Date: Tue, 5 May 2020 11:49:11 +0000 (+0200) Subject: fix dll remove X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5f2f94367d366613426925eea30a8549d61280d1;p=oweals%2Fgnunet.git fix dll remove --- 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);