X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=blobdiff_plain;f=planner.cpp;h=514277668c0e378a9a32a0473ba1fc6105012c11;hp=a4b5e5d5cfe97aab976e0ac9b1b6ffe106639634;hb=d385ba13a2ded8ce22b83c82d8a50c89a5d1d63e;hpb=6bd1a42edf34d021fb0b596ebfed2af4b3f77897 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; + } }