From d385ba13a2ded8ce22b83c82d8a50c89a5d1d63e Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Thu, 19 May 2005 18:58:30 +0000 Subject: [PATCH] delete remaining actions --- planner.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/planner.cpp b/planner.cpp index a4b5e5d..5142776 100644 --- a/planner.cpp +++ b/planner.cpp @@ -31,6 +31,10 @@ Planner::~Planner(){ cerr << "Deleting node " << (*node)->action()->name() << endl; delete *node; } + for (vector::iterator action = _actions.begin(); action != _actions.end(); ++action){ + cerr << "Deleting action " << (*action)->name() << endl; + delete *action; + } } -- 2.39.2