Brett Wallace's 3-run home run wins the game for the Padres