mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +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