projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a52fe
)
Returns now GNUNET_SYSERR
author
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 22 Nov 2010 09:20:22 +0000
(09:20 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Mon, 22 Nov 2010 09:20:22 +0000
(09:20 +0000)
src/util/service.c
patch
|
blob
|
history
diff --git
a/src/util/service.c
b/src/util/service.c
index 79b21e065fb0f9883974010ba6367ef83c0c7f1b..25a9b08dc3ef3032341491c1bd01346d4878684f 100644
(file)
--- a/
src/util/service.c
+++ b/
src/util/service.c
@@
-872,8
+872,10
@@
GNUNET_SERVICE_get_server_addresses (const char *serviceName,
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_("UNIXPATH `%s' too long, maximum length is %llu\n"),unixpath, sizeof(s_un.sun_path));
+ GNUNET_free_non_null (hostname);
+ GNUNET_free (unixpath);
+ return GNUNET_SYSERR;
}
- /* FIXME: Perhaps add an assertion or a break??? */
desc = GNUNET_NETWORK_socket_create (AF_UNIX, SOCK_STREAM, 0);
if (NULL == desc)