[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35811 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35811 - gnunet/src/gns |
Date: |
Tue, 26 May 2015 11:58:55 +0200 |
Author: grothoff
Date: 2015-05-26 11:58:55 +0200 (Tue, 26 May 2015)
New Revision: 35811
Modified:
gnunet/src/gns/gnunet-service-gns.c
Log:
-check for NULL
Modified: gnunet/src/gns/gnunet-service-gns.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns.c 2015-05-26 08:55:43 UTC (rev 35810)
+++ gnunet/src/gns/gnunet-service-gns.c 2015-05-26 09:58:55 UTC (rev 35811)
@@ -268,7 +268,11 @@
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Shutting down!\n");
- GNUNET_SERVER_notification_context_destroy (nc);
+ if (NULL != nc)
+ {
+ GNUNET_SERVER_notification_context_destroy (nc);
+ nc = NULL;
+ }
while (NULL != (clh = clh_head))
{
GNUNET_SERVER_client_set_user_context (clh->client, NULL);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35811 - gnunet/src/gns,
gnunet <=