gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: fix DLL assertion


From: gnunet
Subject: [gnunet] branch master updated: fix DLL assertion
Date: Wed, 06 May 2020 20:07:14 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 8377828bf fix DLL assertion
8377828bf is described below

commit 8377828bf2dce9de52ac50e5866b62a4b8150717
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Wed May 6 20:02:15 2020 +0200

    fix DLL assertion
---
 src/reclaim/plugin_rest_openid_connect.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/src/reclaim/plugin_rest_openid_connect.c 
b/src/reclaim/plugin_rest_openid_connect.c
index 9c474d527..ad8e373fe 100644
--- a/src/reclaim/plugin_rest_openid_connect.c
+++ b/src/reclaim/plugin_rest_openid_connect.c
@@ -2255,16 +2255,19 @@ list_ego (void *cls,
     for (ego_entry = handle->ego_head; NULL != ego_entry;
          ego_entry = ego_entry->next)
     {
-      if (ego_entry->ego != ego)
-        continue;
-      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);
-      return;
+      if (ego_entry->ego == ego)
+        break;
     }
+    if (NULL == ego_entry)
+      return; /* Not found */
+
+    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);
+    return;
   }
 }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]