mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Fix
This commit is contained in:
parent
6cb70c402c
commit
614383728b
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user