summaryrefslogtreecommitdiff
path: root/toc.c
diff options
context:
space:
mode:
Diffstat (limited to 'toc.c')
-rw-r--r--toc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toc.c b/toc.c
index 3b09888..1f5ef0e 100644
--- a/toc.c
+++ b/toc.c
@@ -107,6 +107,7 @@ static char *read_file_contents(Allocator *a, const char *filename, Location whe
}
}
++contents;
+ fclose(in);
return contents;
}