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:
efcc628
)
leak
author
Christian Grothoff
<christian@grothoff.org>
Sun, 13 Jun 2010 15:15:25 +0000
(15:15 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 13 Jun 2010 15:15:25 +0000
(15:15 +0000)
src/util/service.c
patch
|
blob
|
history
diff --git
a/src/util/service.c
b/src/util/service.c
index 6159d2edf62d18ffaabce30257353b459a6377e6..a4316768d8858b767f1e5117658398780ad005c7 100644
(file)
--- a/
src/util/service.c
+++ b/
src/util/service.c
@@
-925,6
+925,7
@@
GNUNET_SERVICE_get_server_addresses (const char *serviceName,
_("Failed to resolve `%s': %s\n"),
hostname, gai_strerror (ret));
GNUNET_free (hostname);
+ GNUNET_free (unixpath);
if (desc != NULL)
GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (desc));
return GNUNET_SYSERR;
@@
-945,6
+946,7
@@
GNUNET_SERVICE_get_server_addresses (const char *serviceName,
disablev6 ? "IPv4 " : "", hostname);
freeaddrinfo (res);
GNUNET_free (hostname);
+ GNUNET_free (unixpath);
return GNUNET_SYSERR;
}
resi = i;