1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00

Fix memory leak when closing Title Sequence handle.

The handle is now invalid after calling TitleSequenceCloseParkHandle().
This commit is contained in:
ceeac
2017-05-26 10:24:22 +02:00
parent f58d711981
commit eeac581857
2 changed files with 6 additions and 0 deletions

View File

@@ -166,6 +166,7 @@ extern "C"
{
Memory::Free(handle->HintPath);
delete ((IStream *)handle->Stream);
Memory::Free(handle);
}
}