diff options
Diffstat (limited to 'src/InputReader.h')
-rw-r--r-- | src/InputReader.h | 4 |
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_); } } |