diff options
-rw-r--r-- | engines/bladerunner/gameinfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/bladerunner/gameinfo.cpp b/engines/bladerunner/gameinfo.cpp index 2d5879d9c2..712d5484c9 100644 --- a/engines/bladerunner/gameinfo.cpp +++ b/engines/bladerunner/gameinfo.cpp @@ -106,7 +106,9 @@ bool GameInfo::open(const Common::String &name) { debug("%2d: %s.VQA", i, _outtakes[i]); } - return !s->err(); + bool err = s->err(); + delete s; + return !err; } } // End of namespace BladeRunner |