gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r16123 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r16123 - gnunet/src/testing
Date: Tue, 19 Jul 2011 15:00:29 +0200

Author: grothoff
Date: 2011-07-19 15:00:29 +0200 (Tue, 19 Jul 2011)
New Revision: 16123

Modified:
   gnunet/src/testing/testing_peergroup.c
Log:
free

Modified: gnunet/src/testing/testing_peergroup.c
===================================================================
--- gnunet/src/testing/testing_peergroup.c      2011-07-19 12:56:55 UTC (rev 
16122)
+++ gnunet/src/testing/testing_peergroup.c      2011-07-19 13:00:29 UTC (rev 
16123)
@@ -652,7 +652,8 @@
                                                               
GNUNET_DISK_PERM_USER_WRITE);
   if (topo_ctx->file == NULL)
     {
-      notify_cb(notify_cb_cls, "Failed to open output file!");
+      notify_cb (notify_cb_cls, "Failed to open output file!");
+      GNUNET_free (topo_ctx);
       return;
     }
 
@@ -661,7 +662,6 @@
     GNUNET_DISK_file_write(topo_ctx->file, temp_str, temp);
   GNUNET_free_non_null(temp_str);
   GNUNET_TESTING_get_topology(pg, &write_topology_cb, topo_ctx);
-  return;
 }
 
 /**




reply via email to

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