fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 17 Oct 2011 09:47:03 +0000 (09:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 17 Oct 2011 09:47:03 +0000 (09:47 +0000)
src/ats/gnunet-service-ats.c

index 3babc0988faa2ad659e9be3adb070159c1719754..768bef1b7c2a4aa42d959b5d5e4634c09a71c52d 100644 (file)
@@ -86,6 +86,8 @@ handle_ats_start (void *cls, struct GNUNET_SERVER_Client *client,
 static void
 client_disconnect_handler (void *cls, struct GNUNET_SERVER_Client *client)
 {
+  if (NULL == client)
+    return;
   GAS_scheduling_remove_client (client);
   GAS_performance_remove_client (client);
 }