aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorMartin Kiewitz2015-09-15 16:40:04 +0200
committerMartin Kiewitz2015-09-15 16:40:04 +0200
commitb493bc2a6df3509cc7dec982544bd77e8ed1310f (patch)
tree1d61981dbb38e3ad7dd196b2b47ed70bf6c80f63 /engines/sherlock/scalpel
parent0d6fa01408bd1e8b247c75ff441c715d81e23a29 (diff)
downloadscummvm-rg350-b493bc2a6df3509cc7dec982544bd77e8ed1310f.tar.gz
scummvm-rg350-b493bc2a6df3509cc7dec982544bd77e8ed1310f.tar.bz2
scummvm-rg350-b493bc2a6df3509cc7dec982544bd77e8ed1310f.zip
SHERLOCK: 3DO: SS: fully fix videoplay memory leak
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}