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:
@@ -166,6 +166,7 @@ extern "C"
|
||||
{
|
||||
Memory::Free(handle->HintPath);
|
||||
delete ((IStream *)handle->Stream);
|
||||
Memory::Free(handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user