diff --git a/.gitignore b/.gitignore index 6b3b103..0557c37 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ switch/ *.bin *.nsp *.psd +*.bak resources/i18n/zh-Hans resources/i18n/zh-Hant resources/i18n/en-GB diff --git a/source/app_page.cpp b/source/app_page.cpp index f8a1819..b9110d6 100644 --- a/source/app_page.cpp +++ b/source/app_page.cpp @@ -235,16 +235,15 @@ void AppPage_Exclude::PopulatePage() listItem->setThumbnail(controlData->icon, sizeof(controlData->icon)); items.insert(std::make_pair(listItem, util::formatApplicationId(tid))); list->addView(listItem); - - free(controlData); } - delete[] records; + free(controlData); } } else { label = new brls::Label(brls::LabelStyle::SMALL, "menus/common/applet_mode_not_supported"_i18n, true); list->addView(label); } + delete[] records; list->registerAction("menus/cheats/exclude_titles_save"_i18n, brls::Key::B, [this] { std::set exclude; @@ -298,4 +297,3 @@ void AppPage_DownloadedCheats::GetExistingCheatsTids() { } } } -