- fixed incorrect order of resource deallocation in savegame reader.

This commit is contained in:
Christoph Oelckers 2021-05-08 09:22:08 +02:00
parent 325af156e7
commit d466ec081a
1 changed files with 1 additions and 1 deletions

View File

@ -145,8 +145,8 @@ bool ReadSavegame(const char* name)
FSerializer arc;
if (!arc.OpenReader((const char*)data, info->LumpSize))
{
delete savereader;
info->Unlock();
delete savereader;
return false;
}
info->Unlock();