aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index 4d1a27d1c1d..fe5de382677 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1066,7 +1066,7 @@ static void
1066close_infile_unwind (void *arg) 1066close_infile_unwind (void *arg)
1067{ 1067{
1068 FILE *stream = arg; 1068 FILE *stream = arg;
1069 eassert (infile->stream == stream); 1069 eassert (infile == NULL || infile->stream == stream);
1070 infile = NULL; 1070 infile = NULL;
1071 fclose (stream); 1071 fclose (stream);
1072} 1072}