projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fb99419
)
leak
author
Christian Grothoff
<christian@grothoff.org>
Tue, 18 Oct 2011 16:28:13 +0000
(16:28 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 18 Oct 2011 16:28:13 +0000
(16:28 +0000)
src/vpn/gnunet-daemon-exit.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-daemon-exit.c
b/src/vpn/gnunet-daemon-exit.c
index 75db415d991a37dadf61f439e7a3c7c13d5313bb..b88dd0f08ef4d5da694284caebeacf61c51286a0 100644
(file)
--- a/
src/vpn/gnunet-daemon-exit.c
+++ b/
src/vpn/gnunet-daemon-exit.c
@@
-680,7
+680,8
@@
read_service_conf (void *cls __attribute__ ((unused)), const char *section)
if (ret != 0)
{
- GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "No addresses found for %s!\n", hostname);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No addresses found for %s!\n", hostname);
+ GNUNET_free (serv);
continue;
}
else
@@
-706,6
+707,7
@@
read_service_conf (void *cls __attribute__ ((unused)), const char *section)
else
{
freeaddrinfo(res);
+ GNUNET_free (serv);
continue;
}
freeaddrinfo(res);