diff options
Diffstat (limited to 'iptables-xml.c')
-rw-r--r-- | iptables-xml.c | 2 |
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(); |