Author: grothoff
Date: 2008-02-09 22:28:18 -0700 (Sat, 09 Feb 2008)
New Revision: 6218

Modified:
   GNUnet/src/applications/testing/testing.c
Log:
leaks

Modified: GNUnet/src/applications/testing/testing.c
===================================================================
--- GNUnet/src/applications/testing/testing.c   2008-02-10 04:51:08 UTC (rev 
6217)
+++ GNUnet/src/applications/testing/testing.c   2008-02-10 05:28:18 UTC (rev 
6218)
@@ -283,6 +283,8 @@
                                                                  
senderIdentity))
                 {
                   ret = GNUNET_OK;
+                 GNUNET_free_non_null (h1);
+                 GNUNET_free_non_null (h2);
                   break;
                 }
               if (GNUNET_YES == GNUNET_IDENTITY_request_connect (sock2,
@@ -290,6 +292,8 @@
                                                                  
senderIdentity))
                 {
                   ret = GNUNET_OK;
+                 GNUNET_free_non_null (h1);
+                 GNUNET_free_non_null (h2);
                   break;
                 }
               GNUNET_thread_sleep (100 * GNUNET_CRON_MILLISECONDS);



_______________________________________________
GNUnet-SVN mailing list
GNUnet-SVN@gnu.org
http://lists.gnu.org/mailman/listinfo/gnunet-svn

Reply via email to