plan_cleanup
int plan_cleanup(PLAN *, void *);
if ((r = find_traverse(plan, plan_cleanup, NULL)) != 0)