projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e264221
)
fixed nullpointer
author
Anna Wimbauer
<anna.wimbauer@gmx.de>
Mon, 27 Apr 2020 07:27:19 +0000
(09:27 +0200)
committer
Anna Wimbauer
<anna.wimbauer@gmx.de>
Mon, 27 Apr 2020 07:27:19 +0000
(09:27 +0200)
src/reclaim/plugin_rest_openid_connect.c
patch
|
blob
|
history
diff --git
a/src/reclaim/plugin_rest_openid_connect.c
b/src/reclaim/plugin_rest_openid_connect.c
index 14a96ed1924cd230b58998ceef3dc0178c278f75..295de0d97ca1e42e9a971888affe255aa6207cad 100644
(file)
--- 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;)
{