diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-02-23 09:24:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-02-23 09:24:50 +0000 |
commit | 5767d95fbe94bb43b3557a59335f4fac30907408 (patch) | |
tree | de0eda581f839bffe5052042ed299f523ccf64d4 /src/util | |
parent | 2a70d3f77bdb563c63ff8ffbbb605d418828b0b1 (diff) | |
download | gnunet-5767d95fbe94bb43b3557a59335f4fac30907408.tar.gz gnunet-5767d95fbe94bb43b3557a59335f4fac30907408.zip |
fix leak
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/service.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/util/service.c b/src/util/service.c index 5937a4c49..2338e795d 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -904,12 +904,6 @@ GNUNET_SERVICE_get_server_addresses (const char *serviceName, | |||
904 | &unixpath)) && | 904 | &unixpath)) && |
905 | (0 < strlen(unixpath))) | 905 | (0 < strlen(unixpath))) |
906 | { | 906 | { |
907 | GNUNET_assert (GNUNET_OK == | ||
908 | GNUNET_CONFIGURATION_get_value_string (cfg, | ||
909 | serviceName, | ||
910 | "UNIXPATH", | ||
911 | &unixpath)); | ||
912 | |||
913 | /* probe UNIX support */ | 907 | /* probe UNIX support */ |
914 | struct sockaddr_un s_un; | 908 | struct sockaddr_un s_un; |
915 | if (strlen(unixpath) >= sizeof(s_un.sun_path)) | 909 | if (strlen(unixpath) >= sizeof(s_un.sun_path)) |