diff --git a/recovery.cpp b/recovery.cpp index 5c1e3cd2..594774f5 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); } }