[Scummvm-cvs-logs] scummvm master -> 1b60e55fe81a390a9810258ccd96a5349a10c9aa
eriktorbjorn
eriktorbjorn at telia.com
Thu Sep 10 22:04:05 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1b60e55fe8 SHERLOCK: Fix memory leak when playing half-sized 3DO movies
Commit: 1b60e55fe81a390a9810258ccd96a5349a10c9aa
https://github.com/scummvm/scummvm/commit/1b60e55fe81a390a9810258ccd96a5349a10c9aa
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-09-10T22:03:03+02:00
Commit Message:
SHERLOCK: Fix memory leak when playing half-sized 3DO movies
Changed paths:
engines/sherlock/scalpel/scalpel.cpp
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp
index 90a7493..2bb90f7 100644
--- a/engines/sherlock/scalpel/scalpel.cpp
+++ b/engines/sherlock/scalpel/scalpel.cpp
@@ -1298,6 +1298,9 @@ bool ScalpelEngine::play3doMovie(const Common::String &filename, const Common::P
}
}
+ if (halfSize)
+ tempSurface.free();
+
videoDecoder->close();
delete videoDecoder;
More information about the Scummvm-git-logs
mailing list