diff options
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r-- | engines/fullpipe/motion.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index e5eb9721f4..68bfb1332e 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -815,7 +815,13 @@ MovGraph::MovGraph() { } MovGraph::~MovGraph() { - warning("STUB: MovGraph::~MovGraph()"); + for (ObList::iterator i = _links.begin(); i != _links.end(); ++i) + delete *i; + + for (ObList::iterator i = _nodes.begin(); i != _nodes.end(); ++i) + delete *i; + + detachAllObjects(); } bool MovGraph::load(MfcArchive &file) { |