Minneapolis-based General Mills Inc.'s general counsel, Richard Allendorf, will retire in August after 23 years with the company.