gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r7483 - GNUnet/src/applications/testing
Date: Sat, 19 Jul 2008 23:10:47 -0600 (MDT)

Author: grothoff
Date: 2008-07-19 23:10:47 -0600 (Sat, 19 Jul 2008)
New Revision: 7483

Modified:
   GNUnet/src/applications/testing/remote.c
Log:
fixing early free and leak

Modified: GNUnet/src/applications/testing/remote.c
===================================================================
--- GNUnet/src/applications/testing/remote.c    2008-07-20 05:04:00 UTC (rev 
7482)
+++ GNUnet/src/applications/testing/remote.c    2008-07-20 05:10:47 UTC (rev 
7483)
@@ -379,16 +379,15 @@
                                                GNUNET_GE_USER |
                                                GNUNET_GE_BULK, "mkstemp",
                                                temp_path);
-                  GNUNET_GC_free (basecfg);
                   GNUNET_free (temp_path);
-                  break;
+                 GNUNET_free (temp_remote_config_path);
+                 break;
                 }
               CLOSE (ret);
               if (0 != GNUNET_GC_write_configuration (basecfg, temp_path))
                 {
-                  /* I guess an error would be logged by 
GNUNET_GC_write_configuration */
-                  GNUNET_GC_free (basecfg);
                   GNUNET_free (temp_path);
+                 GNUNET_free (temp_remote_config_path);
                   break;
                 }
 





reply via email to

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