aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/InputReader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/InputReader.h b/src/InputReader.h
index dcf88cc..13d49b8 100644
--- a/src/InputReader.h
+++ b/src/InputReader.h
@@ -91,9 +91,9 @@ class InputFileReader : public InputReader
~InputFileReader()
{
- fprintf(stderr, "\nClosing input file...\n");
-
if (inputfile_ != NULL) {
+ fprintf(stderr, "\nClosing input file...\n");
+
fclose(inputfile_);
}
}