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