aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/video.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}