summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fios.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fios.cpp b/src/fios.cpp
index 3bed37b3a..11ecd7941 100644
--- a/src/fios.cpp
+++ b/src/fios.cpp
@@ -344,6 +344,7 @@ static void GetFileTitle(const char *file, char *title, const char *last)
size_t read = fread(title, 1, last - title, f);
assert(title + read <= last);
title[read] = '\0';
+ FioFCloseFile(f);
}
/**