gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: fixed nullpointer


From: gnunet
Subject: [gnunet] branch master updated: fixed nullpointer
Date: Mon, 27 Apr 2020 09:34:14 +0200

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

anna-wimbauer pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9a91e4107 fixed nullpointer
     new e5bc04c4a Merge branch 'master' of ssh://gnunet.org/gnunet
9a91e4107 is described below

commit 9a91e41070e368e929e7534c047c8360e60d1901
Author: Anna Wimbauer <address@hidden>
AuthorDate: Mon Apr 27 09:27:19 2020 +0200

    fixed nullpointer
---
 src/reclaim/plugin_rest_openid_connect.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/reclaim/plugin_rest_openid_connect.c 
b/src/reclaim/plugin_rest_openid_connect.c
index 14a96ed19..295de0d97 100644
--- a/src/reclaim/plugin_rest_openid_connect.c
+++ b/src/reclaim/plugin_rest_openid_connect.c
@@ -576,8 +576,10 @@ cleanup_handle (struct RequestHandle *handle)
     json_decref (handle->oidc->response);
     GNUNET_free (handle->oidc);
   }
-  GNUNET_RECLAIM_attribute_list_destroy (handle->attr_list);
-  GNUNET_RECLAIM_attestation_list_destroy (handle->attests_list);
+if(NULL!=handle->attr_list)
+    GNUNET_RECLAIM_attribute_list_destroy (handle->attr_list);
+if(NULL!=handle->attests_list)
+   GNUNET_RECLAIM_attestation_list_destroy (handle->attests_list);
 
   for (ego_entry = handle->ego_head; NULL != ego_entry;)
   {

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



reply via email to

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