Marlins earn rare road win, 7-5 at San FranciscoSan Francisco Giants starting pitcher Yusmeiro Petit throws against the Miami Marlins in the first inning of a baseball game Friday, May 16, 2014, in San Francisco. (AP Photo/Eric Risberg)
Derek Dietrich and Christian Yelich homered, and Jarrod Saltalamacchia snapped an 0-for-26 skid by tying his career high with four singles to stop Miami's slide. The Marlins entered the game losers of six of their past seven games and with a majors-worst 4-16 record away from home.
Santiago Casilla (1-1) got out of a bases-loaded jam in the eighth but couldn't escape trouble in the ninth. The right-hander allowed two baserunners before McGehee's tiebreaking single to right field.
Garrett Jones added an RBI single off lefty Javier Lopez and made a leaping catch in the netting of the photographers' well in foul territory in the ninth. Mike Dunn (4-3) pitched a scoreless eighth, and Steve Cishek converted his eighth save.