diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-23 10:26:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-23 10:26:40 +0000 |
commit | 54d63ce6b5cf65138439558592b36ed50c243232 (patch) | |
tree | d9595edce11e47364aef2c63b508052488bcf22e /src | |
parent | 936eb31477b29e02dfe71b24934c7c32618e4af1 (diff) | |
download | gnunet-54d63ce6b5cf65138439558592b36ed50c243232.tar.gz gnunet-54d63ce6b5cf65138439558592b36ed50c243232.zip |
fixing 1722
Diffstat (limited to 'src')
-rw-r--r-- | src/util/client.c | 5 |
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 |