[Scummvm-cvs-logs] scummvm master -> c3f1817e74a313c956d73176a061af6acb6ce16e
m-kiewitz
m_kiewitz at users.sourceforge.net
Mon Jun 15 23:42:33 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:
c3f1817e74 SHERLOCK: 3DO: movie decoder: fix poss.memory leak
Commit: c3f1817e74a313c956d73176a061af6acb6ce16e
https://github.com/scummvm/scummvm/commit/c3f1817e74a313c956d73176a061af6acb6ce16e
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-06-15T23:41:59+02:00
Commit Message:
SHERLOCK: 3DO: movie decoder: fix poss.memory leak
Changed paths:
engines/sherlock/scalpel/3do/movie_decoder.cpp
diff --git a/engines/sherlock/scalpel/3do/movie_decoder.cpp b/engines/sherlock/scalpel/3do/movie_decoder.cpp
index 6de4f86..8e8f99b 100644
--- a/engines/sherlock/scalpel/3do/movie_decoder.cpp
+++ b/engines/sherlock/scalpel/3do/movie_decoder.cpp
@@ -454,6 +454,9 @@ void Scalpel3DOMovieDecoder::StreamAudioTrack::queueAudio(Common::SeekableReadSt
if (audioStream) {
_totalAudioQueued += audioLengthMSecs;
_audioStream->queueAudioStream(audioStream, DisposeAfterUse::YES);
+ } else {
+ // in case there was an error
+ delete compressedAudioStream;
}
}
More information about the Scummvm-git-logs
mailing list