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:
2a048bd
)
-fix leak
author
Christian Grothoff
<christian@grothoff.org>
Mon, 13 Feb 2012 15:00:46 +0000
(15:00 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 13 Feb 2012 15:00:46 +0000
(15:00 +0000)
src/dns/gnunet-helper-dns.c
patch
|
blob
|
history
diff --git
a/src/dns/gnunet-helper-dns.c
b/src/dns/gnunet-helper-dns.c
index 43d3954e44e033991c2feddb0b4c150f09730c32..dfeb45af8f8840c7d1812743681a579d52ad90f5 100644
(file)
--- a/
src/dns/gnunet-helper-dns.c
+++ b/
src/dns/gnunet-helper-dns.c
@@
-233,6
+233,7
@@
init_tun (char *dev)
if (fd >= FD_SETSIZE)
{
fprintf (stderr, "File descriptor to large: %d", fd);
+ (void) close (fd);
return -1;
}