diff options
-rw-r--r-- | video/codecs/svq1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/codecs/svq1.cpp b/video/codecs/svq1.cpp index e91e5b3cce..5ef45c25a1 100644 --- a/video/codecs/svq1.cpp +++ b/video/codecs/svq1.cpp @@ -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]; } |