aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_clients.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-12 12:01:24 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-12 12:01:24 +0000
commit46ed1469d3e4886a14659e4944090a05b6546757 (patch)
tree45e9919cf395562919b8b188ecfe095dfb968738 /src/core/gnunet-service-core_clients.c
parente5202df0a057e94740c64abe60ff81809a9ce4fd (diff)
downloadgnunet-46ed1469d3e4886a14659e4944090a05b6546757.tar.gz
gnunet-46ed1469d3e4886a14659e4944090a05b6546757.zip
checknull
Diffstat (limited to 'src/core/gnunet-service-core_clients.c')
-rw-r--r--src/core/gnunet-service-core_clients.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core_clients.c b/src/core/gnunet-service-core_clients.c
index 1216988b3..5e25ac907 100644
--- a/src/core/gnunet-service-core_clients.c
+++ b/src/core/gnunet-service-core_clients.c
@@ -813,8 +813,11 @@ GSC_CLIENTS_done ()
813 813
814 while (NULL != (c = client_head)) 814 while (NULL != (c = client_head))
815 handle_client_disconnect (NULL, c->client_handle); 815 handle_client_disconnect (NULL, c->client_handle);
816 GNUNET_SERVER_notification_context_destroy (notifier); 816 if (NULL != notifier)
817 notifier = NULL; 817 {
818 GNUNET_SERVER_notification_context_destroy (notifier);
819 notifier = NULL;
820 }
818 GNUNET_SERVER_mst_destroy (client_mst); 821 GNUNET_SERVER_mst_destroy (client_mst);
819 client_mst = NULL; 822 client_mst = NULL;
820} 823}