[Scummvm-git-logs] scummvm master -> e1955b829f6edb9fc9460538e3ab9c9b87d5ecac

bluegr noreply at scummvm.org
Fri Mar 6 06:46:26 UTC 2026


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
d52adbc894 VIDEO: 4XM: Add destructor
e1955b829f PHOENIXVR: Fix leak of movie stream


Commit: d52adbc89409388cf611740dcc5df350942b045d
    https://github.com/scummvm/scummvm/commit/d52adbc89409388cf611740dcc5df350942b045d
Author: tunnelsociety (tunnelsociety at mm.st)
Date: 2026-03-06T08:46:21+02:00

Commit Message:
VIDEO: 4XM: Add destructor

Changed paths:
    video/4xm_decoder.cpp
    video/4xm_decoder.h


diff --git a/video/4xm_decoder.cpp b/video/4xm_decoder.cpp
index a0c7980e6cd..ec9c1a88a96 100644
--- a/video/4xm_decoder.cpp
+++ b/video/4xm_decoder.cpp
@@ -34,6 +34,10 @@
 
 namespace Video {
 
+FourXMDecoder::~FourXMDecoder() {
+	close();
+}
+
 Common::Rational floatToRational(float value) {
 	int num = static_cast<int>(1000 * value);
 	int denom = 1000;
diff --git a/video/4xm_decoder.h b/video/4xm_decoder.h
index d1a9e026cae..4303de02220 100644
--- a/video/4xm_decoder.h
+++ b/video/4xm_decoder.h
@@ -31,6 +31,8 @@ namespace Video {
  */
 class FourXMDecoder : public Video::VideoDecoder {
 public:
+	~FourXMDecoder();
+
 	bool loadStream(Common::SeekableReadStream *stream) override;
 	bool useAudioSync() const override { return false; }
 


Commit: e1955b829f6edb9fc9460538e3ab9c9b87d5ecac
    https://github.com/scummvm/scummvm/commit/e1955b829f6edb9fc9460538e3ab9c9b87d5ecac
Author: tunnelsociety (tunnelsociety at mm.st)
Date: 2026-03-06T08:46:21+02:00

Commit Message:
PHOENIXVR: Fix leak of movie stream

Changed paths:
    engines/phoenixvr/phoenixvr.cpp


diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index adc56d49f57..a65991a10fe 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -351,6 +351,7 @@ void PhoenixVREngine::playMovie(const Common::String &movie) {
 	} else {
 		warning("playMovie %s failed", movie.c_str());
 	}
+	delete stream;
 }
 void PhoenixVREngine::playAnimation(const Common::String &name, const Common::String &var, int varValue, float speed) {
 	_vr.playAnimation(name, var, varValue, speed);




More information about the Scummvm-git-logs mailing list