From 54d63ce6b5cf65138439558592b36ed50c243232 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 23 Jun 2011 10:26:40 +0000 Subject: [PATCH] fixing 1722 --- src/util/client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/client.c b/src/util/client.c index 7461a0fe2..c81c4eef0 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -335,7 +335,10 @@ do_connect (const char *service_name, unixpath); GNUNET_free (unixpath); if (sock != NULL) - return sock; + { + GNUNET_free (hostname); + return sock; + } } } #endif -- 2.25.1