[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20294 - gnunet/src/statistics
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20294 - gnunet/src/statistics |
Date: |
Mon, 5 Mar 2012 22:04:31 +0100 |
Author: grothoff
Date: 2012-03-05 22:04:31 +0100 (Mon, 05 Mar 2012)
New Revision: 20294
Modified:
gnunet/src/statistics/gnunet-service-statistics.c
Log:
fix
Modified: gnunet/src/statistics/gnunet-service-statistics.c
===================================================================
--- gnunet/src/statistics/gnunet-service-statistics.c 2012-03-05 21:01:09 UTC
(rev 20293)
+++ gnunet/src/statistics/gnunet-service-statistics.c 2012-03-05 21:04:31 UTC
(rev 20294)
@@ -682,13 +682,13 @@
{
struct WatchEntry *we;
struct StatsEntry *se;
+ struct GNUNET_SERVER_Handle *s;
+ if (NULL == nc)
+ return;
save ();
- if (NULL != nc)
- {
- GNUNET_SERVER_notification_context_destroy (nc);
- nc = NULL;
- }
+ GNUNET_SERVER_notification_context_destroy (nc);
+ nc = NULL;
GNUNET_assert (NULL == client_head);
while (NULL != (se = start))
{
@@ -701,7 +701,10 @@
}
GNUNET_free (se);
}
- GNUNET_SERVER_destroy (srv);
+ GNUNET_assert (NULL != srv);
+ s = srv;
+ srv = NULL;
+ GNUNET_SERVER_destroy (s);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20294 - gnunet/src/statistics,
gnunet <=