This commit is contained in:
Christian Semmler 2025-08-15 09:08:28 -07:00
parent 6cb70c402c
commit 614383728b
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -1207,10 +1207,11 @@ bool IsleApp::LoadConfig()
iniparser_freedict(dict);
if constexpr (std::is_same_v<decltype(prefPath), char*>) {
SDL_free(prefPath);
}
[](auto path) {
if constexpr (std::is_same_v<decltype(path), char*>) {
SDL_free(path);
}
}(prefPath);
return true;
}