summaryrefslogtreecommitdiffstats
path: root/ip6tables-restore.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 /ip6tables-restore.c
parent2d280014e281b520280b1a11662aea0da2ffc59c (diff)
parent18c475d7040abc6d3094ee0348904deafe997508 (diff)
Merge branch 'stable' of git://dev.medozas.de/iptables
Diffstat (limited to 'ip6tables-restore.c')
-rw-r--r--ip6tables-restore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index 1d5efea2..06a82aec 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -454,5 +454,7 @@ int main(int argc, char *argv[])
exit(1);
}
+ if (in != NULL)
+ fclose(in);
return 0;
}