mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed incorrect order of resource deallocation in savegame reader.
This commit is contained in:
parent
325af156e7
commit
d466ec081a
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue