diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-13 15:00:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-13 15:00:46 +0000 |
commit | 2751b293778309bfb658d69b5a723aa90abc685a (patch) | |
tree | 199d4e9899bcfbf189493b37dcc1aea36e525398 /src/dns/gnunet-helper-dns.c | |
parent | 2a048bd51f0a5bab883f768365b86dd8c2cd29f5 (diff) | |
download | gnunet-2751b293778309bfb658d69b5a723aa90abc685a.tar.gz gnunet-2751b293778309bfb658d69b5a723aa90abc685a.zip |
-fix leak
Diffstat (limited to 'src/dns/gnunet-helper-dns.c')
-rw-r--r-- | src/dns/gnunet-helper-dns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c index 43d3954e4..dfeb45af8 100644 --- a/src/dns/gnunet-helper-dns.c +++ b/src/dns/gnunet-helper-dns.c | |||
@@ -233,6 +233,7 @@ init_tun (char *dev) | |||
233 | if (fd >= FD_SETSIZE) | 233 | if (fd >= FD_SETSIZE) |
234 | { | 234 | { |
235 | fprintf (stderr, "File descriptor to large: %d", fd); | 235 | fprintf (stderr, "File descriptor to large: %d", fd); |
236 | (void) close (fd); | ||
236 | return -1; | 237 | return -1; |
237 | } | 238 | } |
238 | 239 | ||