aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-05-14 11:32:55 +0200
committerEugene Sandulenko2014-05-14 11:32:55 +0200
commit8bf202fe66ab9f5cdbb0e5b6ec43ea6481dbf036 (patch)
tree31c882aee2dfe004d96f27a304cb051c8657bc12 /engines
parent670bf9a1afeb6ff433365fd43afe39da71bca64c (diff)
downloadscummvm-rg350-8bf202fe66ab9f5cdbb0e5b6ec43ea6481dbf036.tar.gz
scummvm-rg350-8bf202fe66ab9f5cdbb0e5b6ec43ea6481dbf036.tar.bz2
scummvm-rg350-8bf202fe66ab9f5cdbb0e5b6ec43ea6481dbf036.zip
FULLPIPE: Fix crash in Movement destructor
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/statics.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index d15da94ab1..a796665522 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -1522,9 +1522,6 @@ Movement::~Movement() {
if (_updateFlag1)
_dynamicPhases.remove_at(0);
- for (uint i = 0; i < _dynamicPhases.size(); i++)
- delete _dynamicPhases[i];
-
_dynamicPhases.clear();
}