summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recovery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 5c1e3cd21..594774f5a 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -798,6 +798,7 @@ load_locale_from_cache() {
}
buffer[j] = 0;
locale = strdup(buffer);
+ check_and_fclose(fp, LOCALE_FILE);
}
}