Pinch-hitter Tony Gwynn Jr. hit a go-ahead three-run triple off Tim Lincecum, one inning after San Francisco's Nate Schierholtz ran into a critical out that helped kill a Giants' rally and the first-place Los Angeles Dodgers went on to a 6-2 victory Wednesday night.
The Dodgers have won six of their past seven series at home heading into a day off Thursday before Colorado arrives for a weekend series.
Jamey Wright (2-2) pitched two perfect innings and struck out two for the victory.
Lincecum (2-3) gave up four runs and eight hits in five innings. He struck out eight, including NL home run leader Matt Kemp three times, and walked two in losing for the first time since April 16 against Philadelphia.
The right-hander extended his winless streak against the Dodgers to 0-4 dating to last season. The two-time NL Cy Young winner has been especially hard-hit in the first inning, but he got out of that having allowed just two hits.
Kemp, who came in batting .500 in his 11 previo...