Slight edit to malloc537 - don't try to delete nodes until we have delete.
Fixed clean_tree! finally?