1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-12 02:00:46 +01:00

Fix crashes on 22631 caused by forgetting to call CoUninitialize() in PatchStartTileData()

This commit is contained in:
Amrsatrio 2024-04-25 22:57:00 +07:00
parent 31f1b6db0e
commit bae9fd612d

View File

@ -11056,7 +11056,7 @@ static void PatchStartTileData(BOOL bSMEH)
{
PatchStartTileDataFurther(hStartTileData, bSMEH);
}
if (!bSMEH && hr == S_OK)
if (hr == S_OK)
{
CoUninitialize();
}