diff --git a/source/core/savegamehelp.cpp b/source/core/savegamehelp.cpp index 9d6573417..2ff1fa7b4 100644 --- a/source/core/savegamehelp.cpp +++ b/source/core/savegamehelp.cpp @@ -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();