aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-17 11:35:07 +0200
committerEugene Sandulenko2016-08-17 11:35:07 +0200
commit78c50a0f8923b0078ba8640a5a29f2cee0b10b0b (patch)
tree2619ceefb801cdd5469d98ca60643d2c70d41d2a /engines
parent76d54357812675cfdf3ef4a7f898df3df3919834 (diff)
downloadscummvm-rg350-78c50a0f8923b0078ba8640a5a29f2cee0b10b0b.tar.gz
scummvm-rg350-78c50a0f8923b0078ba8640a5a29f2cee0b10b0b.tar.bz2
scummvm-rg350-78c50a0f8923b0078ba8640a5a29f2cee0b10b0b.zip
DIRECTOR: Fix crashes on object destruction
Diffstat (limited to 'engines')
-rw-r--r--engines/director/score.cpp3
1 files changed, 0 insertions, 3 deletions
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