VIDEO: Correct delete type in SVQ1 decoder.

This commit is contained in:
D G Turner 2012-04-05 11:37:09 +01:00
parent 97746e2281
commit d15ff5a03e

View File

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