mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 13:13:58 +00:00
TESTBED: Plug memory leak
This commit is contained in:
parent
567e37fba8
commit
cf4043e5c8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user