From b493bc2a6df3509cc7dec982544bd77e8ed1310f Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Tue, 15 Sep 2015 16:40:04 +0200 Subject: SHERLOCK: 3DO: SS: fully fix videoplay memory leak --- engines/sherlock/scalpel/scalpel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sherlock/scalpel/scalpel.cpp') diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index d407b596c9..086d6070c4 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -1400,7 +1400,7 @@ bool ScalpelEngine::play3doMovie(const Common::String &filename, const Common::P videoDecoder->close(); delete videoDecoder; - if (halfSize) { + if (isPortrait) { delete frameImageFile; } -- cgit v1.2.3