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:
d03cf8b
)
leak
author
Christian Grothoff
<christian@grothoff.org>
Mon, 19 Oct 2009 12:28:50 +0000
(12:28 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 19 Oct 2009 12:28:50 +0000
(12:28 +0000)
src/util/resolver_api.c
patch
|
blob
|
history
diff --git
a/src/util/resolver_api.c
b/src/util/resolver_api.c
index b2c8fda666cbd4b6ebb0a86f91518aa72bdd127a..cbd8392bfff8b212061ed54ff745752c96b808e0 100644
(file)
--- a/
src/util/resolver_api.c
+++ b/
src/util/resolver_api.c
@@
-105,7
+105,10
@@
check_config (const struct GNUNET_CONFIGURATION_Handle *cfg)
(0 == inet_pton (AF_INET6,
hostname,
&v6)) )
- return;
+ {
+ GNUNET_free (hostname);
+ return;
+ }
i = 0;
while (loopback[i] != NULL)
if (0 == strcmp (loopback[i++], hostname))