Zac Gallen gave up one earned run over seven innings of work to earn his ninth win of the season and help the Arizona Diamondbacks to a 5-1 victory over the Milwaukee Brewers.