mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
VIDEO: Correct delete type in SVQ1 decoder.
This commit is contained in:
parent
97746e2281
commit
d15ff5a03e
@ -371,7 +371,7 @@ const Graphics::Surface *SVQ1Decoder::decodeImage(Common::SeekableReadStream *st
|
||||
convertYUV410ToRGB(_surface, current[0], current[1], current[2], _width, _height, _width, _width/4);
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
delete _last[i];
|
||||
delete[] _last[i];
|
||||
_last[i] = current[i];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user