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:
c7db1c1
)
leak
author
Christian Grothoff
<christian@grothoff.org>
Fri, 11 Jun 2010 19:10:58 +0000
(19:10 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 11 Jun 2010 19:10:58 +0000
(19:10 +0000)
src/util/service.c
patch
|
blob
|
history
diff --git
a/src/util/service.c
b/src/util/service.c
index ee1a3151fff29c92bfd5fc68610cbf65517e5f14..681edd8d30571bd2a1175c3dba37967c3dc8849f 100644
(file)
--- a/
src/util/service.c
+++ b/
src/util/service.c
@@
-923,6
+923,8
@@
GNUNET_SERVICE_get_server_addresses (const char *serviceName,
_("Failed to resolve `%s': %s\n"),
hostname, gai_strerror (ret));
GNUNET_free (hostname);
+ if (desc != NULL)
+ GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (desc));
return GNUNET_SYSERR;
}
next = res;