mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +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;
|
FSerializer arc;
|
||||||
if (!arc.OpenReader((const char*)data, info->LumpSize))
|
if (!arc.OpenReader((const char*)data, info->LumpSize))
|
||||||
{
|
{
|
||||||
delete savereader;
|
|
||||||
info->Unlock();
|
info->Unlock();
|
||||||
|
delete savereader;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
info->Unlock();
|
info->Unlock();
|
||||||
|
|
Loading…
Reference in a new issue