Mike Leake became the fourth Giants pitcher to hit a home run this season.