1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-25 02:52:05 +00:00

refactored title id listing code

This commit is contained in:
flb 2021-03-27 01:34:57 +01:00
parent c755d19f58
commit 79e173cc18

View file

@ -136,6 +136,7 @@ std::vector<std::string> getInstalledTitlesNs(){
titles.push_back(util::formatApplicationId(records[i].application_id)); titles.push_back(util::formatApplicationId(records[i].application_id));
} }
} }
free(controlData);
delete[] records; delete[] records;
std::sort(titles.begin(), titles.end()); std::sort(titles.begin(), titles.end());
return titles; return titles;