gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9683 - GNUnet/src/applications/testing


From: gnunet
Subject: [GNUnet-SVN] r9683 - GNUnet/src/applications/testing
Date: Wed, 2 Dec 2009 22:57:17 +0100

Author: nevans
Date: 2009-12-02 22:57:17 +0100 (Wed, 02 Dec 2009)
New Revision: 9683

Modified:
   GNUnet/src/applications/testing/remote.c
Log:
coverity bugfix

Modified: GNUnet/src/applications/testing/remote.c
===================================================================
--- GNUnet/src/applications/testing/remote.c    2009-12-02 21:55:27 UTC (rev 
9682)
+++ GNUnet/src/applications/testing/remote.c    2009-12-02 21:57:17 UTC (rev 
9683)
@@ -217,12 +217,10 @@
   else
     {
       pclose (output);
-      GNUNET_free_non_null (output);
       return -1;
     }
 
   pclose (output);
-  GNUNET_free_non_null (output);
   if (is_local)
     {
       length = snprintf (NULL, 0, "kill %d", pid);
@@ -1402,7 +1400,10 @@
   totalCreatedConnections = 0;
   totalConnectAttempts = 0;
   if (totalConnections < 1)
+  {
+    GNUNET_free(daemon_list);
     return 0;
+  }
 
   modnum = ceil (totalConnections / 4);
   dotnum = ceil (totalConnections / 50);





reply via email to

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