gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r15271 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r15271 - gnunet/src/util
Date: Fri, 20 May 2011 16:33:42 +0200

Author: wachs
Date: 2011-05-20 16:33:42 +0200 (Fri, 20 May 2011)
New Revision: 15271

Modified:
   gnunet/src/util/connection.c
Log:
Removing this lines breaks the transport tests on Freebsd
Failing tests begin with rev 14256



Modified: gnunet/src/util/connection.c
===================================================================
--- gnunet/src/util/connection.c        2011-05-20 11:37:00 UTC (rev 15270)
+++ gnunet/src/util/connection.c        2011-05-20 14:33:42 UTC (rev 15271)
@@ -966,8 +966,10 @@
     {
       /* Just return; we expect everything to work eventually so don't fail 
HARD */
       GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (ret->sock));
-      ret->sock = NULL;
-      return ret;
+      GNUNET_free (ret->addr);
+      GNUNET_free (ret->write_buffer);
+      GNUNET_free (ret);
+      return NULL;
     }
   connect_success_continuation (ret);
   return ret;




reply via email to

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