TESTBED: Plug memory leak

This commit is contained in:
Eugene Sandulenko 2020-08-24 10:29:20 +02:00
parent 567e37fba8
commit cf4043e5c8

View File

@ -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;