diff options
Diffstat (limited to 'graphics/video/codecs/qtrle.cpp')
-rw-r--r-- | graphics/video/codecs/qtrle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/video/codecs/qtrle.cpp b/graphics/video/codecs/qtrle.cpp index e73d193896..380b89903c 100644 --- a/graphics/video/codecs/qtrle.cpp +++ b/graphics/video/codecs/qtrle.cpp @@ -415,6 +415,7 @@ const Surface *QTRLEDecoder::decodeImage(Common::SeekableReadStream *stream) { QTRLEDecoder::~QTRLEDecoder() { _surface->free(); + delete _surface; } } // End of namespace Graphics |