clean up name allocation in prepare_revision_walk