From 8bf202fe66ab9f5cdbb0e5b6ec43ea6481dbf036 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 14 May 2014 11:32:55 +0200 Subject: FULLPIPE: Fix crash in Movement destructor --- engines/fullpipe/statics.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines') 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(); } -- cgit v1.2.3