]> ruin.nu Git - popboot.git/blobdiff - planner.cpp
delete remaining actions
[popboot.git] / 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;
+       }
 }