aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/codecs/smc.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/video/codecs/smc.h')
-rw-r--r--graphics/video/codecs/smc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/codecs/smc.h b/graphics/video/codecs/smc.h
index c2ade00141..158cffbce8 100644
--- a/graphics/video/codecs/smc.h
+++ b/graphics/video/codecs/smc.h
@@ -40,7 +40,7 @@ enum {
class SMCDecoder : public Codec {
public:
SMCDecoder(uint16 width, uint16 height);
- ~SMCDecoder() { delete _surface; }
+ ~SMCDecoder();
const Surface *decodeImage(Common::SeekableReadStream *stream);
PixelFormat getPixelFormat() const { return PixelFormat::createFormatCLUT8(); }