aboutsummaryrefslogtreecommitdiff
path: root/slirp.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp.c')
-rw-r--r--slirp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/slirp.c b/slirp.c
index f26f8fa..ccec2e9 100644
--- a/slirp.c
+++ b/slirp.c
@@ -63,6 +63,7 @@ static int get_dns_addr(struct in_addr *pdns_addr)
lprint("%s", inet_ntoa(tmp_addr));
}
}
+ fclose(f);
if (!found)
return -1;
return 0;