[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 03/04: -fix another NPE
From: |
gnunet |
Subject: |
[gnunet] 03/04: -fix another NPE |
Date: |
Mon, 10 Jan 2022 14:22:42 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit d4641d36b885ba764945d6353ed71b7bc485c6ac
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jan 10 13:39:29 2022 +0100
-fix another NPE
---
src/ats/gnunet-service-ats_connectivity.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/ats/gnunet-service-ats_connectivity.c
b/src/ats/gnunet-service-ats_connectivity.c
index 05046f007..5ee9b60f5 100644
--- a/src/ats/gnunet-service-ats_connectivity.c
+++ b/src/ats/gnunet-service-ats_connectivity.c
@@ -162,9 +162,10 @@ GAS_handle_request_address_cancel (struct
GNUNET_SERVICE_Client *client,
void
GAS_connectivity_remove_client (struct GNUNET_SERVICE_Client *client)
{
- GNUNET_CONTAINER_multipeermap_iterate (connection_requests,
- &free_matching_requests,
- client);
+ if (NULL != connection_requests)
+ GNUNET_CONTAINER_multipeermap_iterate (connection_requests,
+ &free_matching_requests,
+ client);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.