Mesoraco also had a solo shot off reliever Evan Marshall in the ninth inning for the second two-homer game of his career.
A.J. Pollock doubled twice, singled and scored two runs for the Diamondbacks. In the first five games of the homestand, Pollock is 11 for 20 with five doubles, a triple and a home run and has scored nine runs.
Mike Leake (3-4) gave up four runs, three earned, and six hits in six innings for his first win in eight starts. He struck out four and walked one.
Arroyo (4-4), facing his former team for the first time, allowed five runs and nine hits through seven innings.