aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-05 21:18:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-07-05 21:18:42 +0000
commited6196b6b14159ba4e01a0083dad33a07d7dca3c (patch)
treed48516991ed9734ce6c19fffe36eda81356f11b4
parent0a8b15f6bb662ff0a2548d3d6bb961a0cd0f6249 (diff)
downloadslirp-0.6.0.zip
slirp-0.6.0.tar.gz
slirp-0.6.0.tar.bz2
forgot fclose()v0.6.0release_0_6_0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@979 c046a42c-6fe2-441c-8c8c-71466251a162
-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;