The Dodgers beat the Padres, but pitcher Brandon McCarthy left the game with tightness in his right elbow