From 8bcc62eb2345488b010b4058a0108a9010998347 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 20 May 2011 14:33:42 +0000 Subject: [PATCH] Removing this lines breaks the transport tests on Freebsd Failing tests begin with rev 14256 --- src/util/connection.c | 6 ++++-- 1 file 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 { /* 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; -- 2.25.1