summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-xml.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-06-30 13:35:56 +0200
committerPatrick McHardy <kaber@trash.net>2011-06-30 13:35:56 +0200
commit411b390f3ffcd4708a0dfc0f2824a637de511cea (patch)
tree50645beb44d0a617d17eb15636f149720061e31f /iptables/iptables-xml.c
parent3b7a22b44d74b9b05d5e4b0529ebf72c49dcbff5 (diff)
parent1c9508e1f3f853f33683eb7118e19b193a6c80b7 (diff)
Merge branch 'master' of git://dev.medozas.de/iptables
Diffstat (limited to 'iptables/iptables-xml.c')
-rw-r--r--iptables/iptables-xml.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/iptables/iptables-xml.c b/iptables/iptables-xml.c
index 5aa638c0..502b2d96 100644
--- a/iptables/iptables-xml.c
+++ b/iptables/iptables-xml.c
@@ -865,8 +865,7 @@ main(int argc, char *argv[])
exit(1);
}
- if (in != NULL)
- fclose(in);
+ fclose(in);
printf("</iptables-rules>\n");
free_argv();