Fix the free_waypoint_list function to finish the mission_clear_waypoint