summaryrefslogtreecommitdiffstats
path: root/iptables-xml.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-06-11 17:56:24 +0200
committerPatrick McHardy <kaber@trash.net>2009-06-11 17:56:24 +0200
commit4ada8440f43e8335c96706b749f606b527c8a038 (patch)
treeb1b5de53e8d313b7079effd4208dcb2ec10ceaa0 /iptables-xml.c
parent2d280014e281b520280b1a11662aea0da2ffc59c (diff)
parent18c475d7040abc6d3094ee0348904deafe997508 (diff)
Merge branch 'stable' of git://dev.medozas.de/iptables
Diffstat (limited to 'iptables-xml.c')
-rw-r--r--iptables-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iptables-xml.c b/iptables-xml.c
index e5d19419..daf42084 100644
--- a/iptables-xml.c
+++ b/iptables-xml.c
@@ -870,6 +870,8 @@ main(int argc, char *argv[])
exit(1);
}
+ if (in != NULL)
+ fclose(in);
printf("</iptables-rules>\n");
free_argv();