diff options
Diffstat (limited to 'engines/gob/save/saveconverter.cpp')
-rw-r--r-- | engines/gob/save/saveconverter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gob/save/saveconverter.cpp b/engines/gob/save/saveconverter.cpp index ec8bcbcfea..2db3379aa7 100644 --- a/engines/gob/save/saveconverter.cpp +++ b/engines/gob/save/saveconverter.cpp @@ -272,6 +272,7 @@ SavePartSprite *SaveConverter::readSprite(Common::SeekableReadStream &stream, if (!sprite->readSpriteRaw(data, spriteSize)) { delete[] data; + delete sprite; return 0; } |