From e3f352cb0c3247f72dfc1f6fe65c57ada64f9755 Mon Sep 17 00:00:00 2001 From: richiesams Date: Sun, 11 Aug 2013 16:40:32 -0500 Subject: ZVISION: Delete the scaledVideoFrameBuffer after we're done with it --- engines/zvision/video.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/zvision') diff --git a/engines/zvision/video.cpp b/engines/zvision/video.cpp index 0d707e7037..2a320cb790 100644 --- a/engines/zvision/video.cpp +++ b/engines/zvision/video.cpp @@ -158,6 +158,8 @@ void ZVision::playVideo(Video::VideoDecoder &videoDecoder, const Common::Rect &d _clock.start(); + delete[] scaledVideoFrameBuffer; + // Reset the pixel format to the original state initGraphics(_width, _height, true, &_pixelFormat); } -- cgit v1.2.3