diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-17 21:01:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-17 21:01:43 +0100 |
commit | 47c8cd67924e0e6ebbdd8b40c52559eaf9d4e435 (patch) | |
tree | 441dd4fff65bb3c9e2d7e2ca4c2afacbbc559223 /src/util/client.c | |
parent | cbafa8e54f0399bf4213c313a72907ba92250375 (diff) | |
download | gnunet-47c8cd67924e0e6ebbdd8b40c52559eaf9d4e435.tar.gz gnunet-47c8cd67924e0e6ebbdd8b40c52559eaf9d4e435.zip |
fix loopback disconnect signalling and a few memory leaks
Diffstat (limited to 'src/util/client.c')
-rw-r--r-- | src/util/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/client.c b/src/util/client.c index 4fd971040..1cf819f9d 100644 --- a/src/util/client.c +++ b/src/util/client.c | |||
@@ -510,6 +510,8 @@ try_unixpath (const char *service_name, | |||
510 | GNUNET_free (unixpath); | 510 | GNUNET_free (unixpath); |
511 | return sock; | 511 | return sock; |
512 | } | 512 | } |
513 | if (NULL != sock) | ||
514 | GNUNET_NETWORK_socket_close (sock); | ||
513 | } | 515 | } |
514 | GNUNET_free_non_null (unixpath); | 516 | GNUNET_free_non_null (unixpath); |
515 | #endif | 517 | #endif |