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