]> ruin.nu Git - popboot.git/commitdiff
delete remaining actions
authorMichael Andreen <harv@ruin.nu>
Thu, 19 May 2005 18:58:30 +0000 (18:58 +0000)
committerMichael Andreen <harv@ruin.nu>
Thu, 19 May 2005 18:58:30 +0000 (18:58 +0000)
planner.cpp

index a4b5e5d5cfe97aab976e0ac9b1b6ffe106639634..514277668c0e378a9a32a0473ba1fc6105012c11 100644 (file)
@@ -31,6 +31,10 @@ Planner::~Planner(){
                cerr << "Deleting node " << (*node)->action()->name() << endl;
                delete *node;
        }
+       for (vector<Action*>::iterator action = _actions.begin(); action != _actions.end(); ++action){
+               cerr << "Deleting action " << (*action)->name() << endl;
+               delete *action;
+       }
 }