diff options
author | richiesams | 2013-08-11 16:40:32 -0500 |
---|---|---|
committer | richiesams | 2013-08-11 16:40:32 -0500 |
commit | e3f352cb0c3247f72dfc1f6fe65c57ada64f9755 (patch) | |
tree | 8ed1952e32826fbcadc4a4546674faace7e14256 /engines/zvision | |
parent | 5ef23e6f8daffd65dd605a28252398d1556760fe (diff) | |
download | scummvm-rg350-e3f352cb0c3247f72dfc1f6fe65c57ada64f9755.tar.gz scummvm-rg350-e3f352cb0c3247f72dfc1f6fe65c57ada64f9755.tar.bz2 scummvm-rg350-e3f352cb0c3247f72dfc1f6fe65c57ada64f9755.zip |
ZVISION: Delete the scaledVideoFrameBuffer after we're done with it
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/video.cpp | 2 |
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); } |