aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 88607172d..1aeecd2b1 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -396,6 +396,7 @@ int dnsworker_main(void *data) {
close(fdarray[0]); /* this is the side of the socketpair the parent uses */
fd = fdarray[1]; /* this side is ours */
connection_free_all(); /* so the child doesn't hold the parent's fd's open */
+/* XXX probably don't close all the fd's on MS_WINDOWS? */
for(;;) {