aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/client.c5
1 files changed, 4 insertions, 1 deletions
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,
335 unixpath); 335 unixpath);
336 GNUNET_free (unixpath); 336 GNUNET_free (unixpath);
337 if (sock != NULL) 337 if (sock != NULL)
338 return sock; 338 {
339 GNUNET_free (hostname);
340 return sock;
341 }
339 } 342 }
340 } 343 }
341#endif 344#endif