From: Michael Andreen Date: Thu, 19 May 2005 18:58:30 +0000 (+0000) Subject: delete remaining actions X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=commitdiff_plain;h=d385ba13a2ded8ce22b83c82d8a50c89a5d1d63e delete remaining actions --- 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; + } }