gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17548 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r17548 - gnunet/src/ats
Date: Mon, 17 Oct 2011 16:03:36 +0200

Author: grothoff
Date: 2011-10-17 16:03:36 +0200 (Mon, 17 Oct 2011)
New Revision: 17548

Modified:
   gnunet/src/ats/ats_api_performance.c
Log:
fix

Modified: gnunet/src/ats/ats_api_performance.c
===================================================================
--- gnunet/src/ats/ats_api_performance.c        2011-10-17 13:55:08 UTC (rev 
17547)
+++ gnunet/src/ats/ats_api_performance.c        2011-10-17 14:03:36 UTC (rev 
17548)
@@ -516,7 +516,11 @@
     GNUNET_SCHEDULER_cancel (ph->task);
     ph->task = GNUNET_SCHEDULER_NO_TASK;
   }
-  GNUNET_CLIENT_disconnect (ph->client, GNUNET_NO);
+  if (NULL != client)
+  {
+    GNUNET_CLIENT_disconnect (ph->client, GNUNET_NO);
+    ph->client = NULL;
+  }
   GNUNET_free (ph);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]