SAN FRANCISCO -- Dan Ortmeier hit a game-winning solo home run with one out in the bottom of the ninth inning, lifting the San Francisco Giants past the Los Angeles Dodgers 5-4 on Friday night to end an 11-game home losing streak to their archrivals.
The Dodgers blew a chance to gain a game on the Padres in the NL West and wild-card standings, staying 2½ games back of San Diego in both races after the Padres lost 10-4 at Colorado.
James Loney hit his second solo homer of the game to tie it in the top of the ninth, then Ortmeier answered with his fifth homer of the year, a shot into the seats in right-center off loser Jonathan Broxton (4-3).
Loney had his second career multihomer game and first since doing it Sept. 28 last year at Colorado. He connected off Brad Hennessey (3-4), who picked up the win after blowing his fourth save.
Never miss a local story.
Pinch-hitter Randy Winn lined a go-ahead single to left in the seventh inning, when the Giants scored three unearned runs to get back into the game.
Bengie Molina homered and Barry Bonds went 1-for-4 with a leadoff single in the seventh. The slugger advanced on shortstop Rafael Furcal's throwing error and scored on Pedro Feliz's RBI single later in the inning.
Omar Vizquel followed Feliz with a tying RBI groundout that made it 3-3.
Rookie left-hander Jonathan Sanchez struck out five and didn't walk a batter in seven innings for San Francisco, allowing eight hits and three runs.