From 78c50a0f8923b0078ba8640a5a29f2cee0b10b0b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 17 Aug 2016 11:35:07 +0200 Subject: DIRECTOR: Fix crashes on object destruction --- engines/director/score.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines') diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 6587270641..79a60bf4a9 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -892,8 +892,6 @@ Frame::Frame(const Frame &frame) { } Frame::~Frame() { - delete[] &_sprites; - delete[] &_drawRects; delete _palette; } @@ -1611,7 +1609,6 @@ Sprite::Sprite(const Sprite &sprite) { Sprite::~Sprite() { delete _cast; - delete &_startPoint; } } //End of namespace Director -- cgit v1.2.3