aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-05-20 14:33:42 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-05-20 14:33:42 +0000
commit8bcc62eb2345488b010b4058a0108a9010998347 (patch)
treef0718d224563c0b9c3098d65bb1c4844f8cdf1dd /src/util/connection.c
parentf32bd7111f7b2f3c890cb3119bc31be8e217a874 (diff)
downloadgnunet-8bcc62eb2345488b010b4058a0108a9010998347.tar.gz
gnunet-8bcc62eb2345488b010b4058a0108a9010998347.zip
Removing this lines breaks the transport tests on Freebsd
Failing tests begin with rev 14256
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/connection.c b/src/util/connection.c
index 5dbc9916b..7828dac53 100644
--- a/src/util/connection.c
+++ b/src/util/connection.c
@@ -966,8 +966,10 @@ GNUNET_CONNECTION_create_from_connect_to_unixpath (const struct
966 { 966 {
967 /* Just return; we expect everything to work eventually so don't fail HARD */ 967 /* Just return; we expect everything to work eventually so don't fail HARD */
968 GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (ret->sock)); 968 GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (ret->sock));
969 ret->sock = NULL; 969 GNUNET_free (ret->addr);
970 return ret; 970 GNUNET_free (ret->write_buffer);
971 GNUNET_free (ret);
972 return NULL;
971 } 973 }
972 connect_success_continuation (ret); 974 connect_success_continuation (ret);
973 return ret; 975 return ret;