Tim Lincecum ended a three-start losing streak, Andres Torres hit a two-run homer and the Giants beat Melky Cabrera and the Toronto Blue Jays 2-1 on Tuesday night.
Cabrera had two hits in his return to AT&T Park with Toronto for the first time since his 50-game suspension for a positive testosterone test Aug. 15.
Lincecum (4-5) allowed Edwin Encarnacion's first-inning solo home run, then retired the next 14 Blue Jays in order.
Coming off his shortest outing of the year of 4¹⁄³ innings last Wednesday in a 9-6 loss to the A's, Lincecum allowed three hits and one run, struck out six and walked one in seven impressive innings.
The Giants handed Josh Johnson (0-2) a loss in his return from the disabled list.
Torres connected for his second homer in the second, and he also made a couple of nice catches in left field behind Lincecum.
The struggling right-hander looked more like his old self after losing four of five starts and five of his last six decisions — in which he had allowed 27 earned runs in 42¹⁄³ innings for a 5.74 ERA.
The two-time NL Cy Young Award winner quickly regrouped after Encarancion's 17th home run and found a groove.
The Blue Jays missed a chance in the sixth. With Johnson aboard on a walk and at second following Cabrera's single, Jose Bautista hit into his second double play of the game with a liner to Pablo Sandoval at third base. Sandoval fired to second and Marco Scutaro made the play but dropped the ball as he tumbled forward, bringing Blue Jays manager John Gibbons out to argue.
Lincecum, knocked out of his only other start against the Blue Jays after 3²⁄³ innings in 2007, pumped his fist as he walked off the mound.
Sandoval was back in the Giants' lineup after missing three games with a strain in his left foot, while center fielder and leadoff hitter Angel Pagan sat out for the ninth straight game with a strained left hamstring.
NEXT GAMEBlue Jays vs. Giants
WHEN: Today, 12:45 p.m.
WHERE: AT&T Park
TV: Comcast SportsNet Bay Area
RADIO: KNBR (680 AM)
STARTING PITCHERS: Barry Zito (4-3, 3.88 ERA) vs. R.A. Dickey (4-7, 5.18)