[Scummvm-git-logs] scummvm master -> cf4043e5c84208de837f740fa35769a107c40487
sev-
sev at scummvm.org
Mon Aug 24 08:29:36 UTC 2020
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:
cf4043e5c8 TESTBED: Plug memory leak
Commit: cf4043e5c84208de837f740fa35769a107c40487
https://github.com/scummvm/scummvm/commit/cf4043e5c84208de837f740fa35769a107c40487
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-08-24T10:29:20+02:00
Commit Message:
TESTBED: Plug memory leak
Changed paths:
engines/testbed/video.cpp
diff --git a/engines/testbed/video.cpp b/engines/testbed/video.cpp
index 9331fc022b..c0ee202155 100644
--- a/engines/testbed/video.cpp
+++ b/engines/testbed/video.cpp
@@ -60,6 +60,8 @@ void TestbedEngine::videoTest() {
y = (g_system->getHeight() - conv->h) >> 1;
}
g_system->copyRectToScreen(conv->getPixels(), conv->pitch, x, y, MIN<uint16>(conv->w, 640), MIN<uint16>(conv->h, 480));
+
+ delete conv;
}
Common::Event event;
More information about the Scummvm-git-logs
mailing list