summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}
/**