SAN FRANCISCO — Aubrey Huff hit a game-ending single in the bottom of the 10th inning, giving the San Francisco Giants a 2-1 victory over the cross-bay rival Oakland Athletics on Friday night.

SAN FRANCISCO — Aubrey Huff hit a game-ending single in the bottom of the 10th inning, giving the San Francisco Giants a 2-1 victory over the cross-bay rival Oakland Athletics on Friday night.

Huff's line drive to right-center off Brian Fuentes (1-5) scored Emmanuel Burriss from second, sealing the NL West-leading Giants' third straight win. Oakland lost for the third consecutive game.

Burriss led off the inning with a single and Andres Torres' sacrifice bunt moved him to second. Oakland intentionally walked Freddy Sanchez, setting the stage for San Francisco's sixth walk-off victory this season.

Javier Lopez (2-0) pitched a perfect 10th for the win.

Giants starter Ryan Vogelsong matched Oakland ace Trevor Cahill, who yielded just one hit, for six innings before the two stingy bullpens pitched scoreless ball into extra innings.