summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-xml.c
diff options
context:
space:
mode:
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();