diff --git a/radio/src/gui/colorlcd/theme_manager.cpp b/radio/src/gui/colorlcd/theme_manager.cpp index 5d0fc04d9..99b975d48 100644 --- a/radio/src/gui/colorlcd/theme_manager.cpp +++ b/radio/src/gui/colorlcd/theme_manager.cpp @@ -345,6 +345,7 @@ void ThemePersistance::scanThemeFolder(char *fullPath) FRESULT result = f_open(&file, fullPath, FA_OPEN_EXISTING | FA_READ); if (result != FR_OK) return; + f_close(&file); TRACE("scanForThemes: found file %s", fullPath); themes.emplace_back(new ThemeFile(fullPath)); }