mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +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