gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9690 - in GNUnet/src/applications: chat/lib dv_dht/tools


From: gnunet
Subject: [GNUnet-SVN] r9690 - in GNUnet/src/applications: chat/lib dv_dht/tools
Date: Fri, 4 Dec 2009 00:04:38 +0100

Author: grothoff
Date: 2009-12-04 00:04:38 +0100 (Fri, 04 Dec 2009)
New Revision: 9690

Modified:
   GNUnet/src/applications/chat/lib/loopback_test.c
   GNUnet/src/applications/dv_dht/tools/dv_dht_loopback_test.c
Log:
fixes

Modified: GNUnet/src/applications/chat/lib/loopback_test.c
===================================================================
--- GNUnet/src/applications/chat/lib/loopback_test.c    2009-12-03 13:52:05 UTC 
(rev 9689)
+++ GNUnet/src/applications/chat/lib/loopback_test.c    2009-12-03 23:04:38 UTC 
(rev 9690)
@@ -155,7 +155,7 @@
   struct GNUNET_TESTING_DaemonContext *peers;
   int ret;
   struct GNUNET_CHAT_Room *r1;
-  struct GNUNET_CHAT_Room *r2;
+  struct GNUNET_CHAT_Room *r2 = NULL;
   unsigned int seq;
   struct GNUNET_MetaData *meta1;
   struct GNUNET_MetaData *meta2;

Modified: GNUnet/src/applications/dv_dht/tools/dv_dht_loopback_test.c
===================================================================
--- GNUnet/src/applications/dv_dht/tools/dv_dht_loopback_test.c 2009-12-03 
13:52:05 UTC (rev 9689)
+++ GNUnet/src/applications/dv_dht/tools/dv_dht_loopback_test.c 2009-12-03 
23:04:38 UTC (rev 9690)
@@ -86,6 +86,7 @@
   int i;
 
   ectx = NULL;
+  value = NULL;
   cfg = GNUNET_GC_create ();
   if (-1 == GNUNET_GC_parse_configuration (cfg, "check.conf"))
     {
@@ -154,7 +155,7 @@
 #if START_PEERS
   GNUNET_TESTING_stop_daemons (peers);
 #endif
-  GNUNET_free (value);
+  GNUNET_free_non_null (value);
   GNUNET_GC_free (cfg);
   return ret;
 }





reply via email to

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