[Scummvm-git-logs] scummvm master -> 7e52ca9a3cd79e7cc5996334b560da98161331f4
sev-
noreply at scummvm.org
Tue Oct 14 09:45:06 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
7e52ca9a3c DIRECTOR: Fix double use-after-free in Sprite assignment
Commit: 7e52ca9a3cd79e7cc5996334b560da98161331f4
https://github.com/scummvm/scummvm/commit/7e52ca9a3cd79e7cc5996334b560da98161331f4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-10-14T11:44:52+02:00
Commit Message:
DIRECTOR: Fix double use-after-free in Sprite assignment
Changed paths:
engines/director/sprite.cpp
diff --git a/engines/director/sprite.cpp b/engines/director/sprite.cpp
index 21d60bcede7..7b8bfb59adc 100644
--- a/engines/director/sprite.cpp
+++ b/engines/director/sprite.cpp
@@ -90,8 +90,6 @@ Sprite& Sprite::operator=(const Sprite &sprite) {
return *this;
}
- this->~Sprite();
-
_frame = sprite._frame;
_score = sprite._score;
_movie = sprite._movie;
More information about the Scummvm-git-logs
mailing list