BOX SCORE SAN DIEGO The Giants have problems as they approach the postseason, and Tim Lincecum is just one of them.But a couple of well-timed home runs can cover up a multitude of sins.Xavier Nadys pinch homer in the ninth inning tied the game and rescued Lincecum from a 16th loss, then Hunter Pence cranked a two-run shot as the Giants stormed back to take a 7-5 victory over the San Diego Padres at Petco Park.The Giants scored five runs over the last two innings to take two of three in San Diego and keep their road series streak intact. They havent dropped a series away from AT&T Park since July 6-8 at Pittsburgh, posting a series record of 10-0-1 since then.Starting pitching reportLincecum finished the season with a 10-15 record and 5.18 ERA the highest among all 47 NL pitchers with enough innings to qualify for the ERA title.That is not what anyone expected. Even more stunning, it took a much-improved second half just to help Lincecum arrive where he did.He did not end on a good note, though.Allowing three home runs at Petco Park is alarming in any context. Before Lincecum surrendered three jacks in his final regular-season start, it had been done just one other time by a Giants pitcher (Noah Lowry in 2006) in 83 games at the Padres spacious home.That wasnt the only way the Padres kicked sand in Lincecums face. Everth Cabrera stole four bases on him, including once on a pitchout.The combination of homers and stolen bases undid what otherwise could have been a solid start. Lincecum allowed just one other hit besides the home runs and stayed around the zone with his slider and curveball while throwing a relatively efficient 90 pitches in six innings.But he missed his spot on a 3-2 fastball to Logan Forsythe for a two-run home run in the third inning that gave the Padres a one-run lead. Yasmani Grandal hit a 2-2 changeup in the fourth inning and Chase Headley tagged a first-pitch slider in the sixth as Lincecum surrendered his homers on three different pitches a sign he still lacks consistency in just about every area.Lincecum finished with 186 innings in 33 starts his lowest innings output since his rookie year. He still managed to strike out more than a batter per inning, but his 190 strikeouts ended a streak of four consecutive seasons topping the 200 mark.Lincecums struggles were acute on the road, especially before the All-Star break. He finished 6-7 with a 6.43 ERA away from AT&T Park. He remains the presumptive No. 3 starter in the playoff rotation, thoughBullpen reportAs is usually the case in any comeback victory, the bullpen gave the Giants a chance to rally. Dan Runzler and Shane Loux each tossed a scoreless inning, and Sergio Romo pitched around a two-out single in the ninth to record his 13th save in 14 opportunities.At the platePrior to the game, Giants manager Bruce Bochy said he wanted his club to tighten up a few things. His club responded by making a series of mistakes early in the game, especially on the basepaths.They managed just two runs despite 10 baserunners in four innings against Edinson Volquez, who was exceptionally wild at times and had to come out at the start of the fifth.In the second inning, Gregor Blanco made the mistake of swinging at a 2-0 pitch after Volquez had walked Lincecum to load the bases. Blanco missed and ended up striking out to end the inning.The Giants gave Volquez an even bigger reprieve in the fourth. Brandon Belt and Hector Sanchez both singled, including a nicely executed hit-and-run play, to put runners at the corners. But Belt got a truly terrible read on Joaquin Arias single to right field, racing back to tag up under the assumption it would be caught. Right fielder Chris Denorfia threw out Belt at the plate.Lincecum walked to load the bases and this time Blanco showed better patience while drawing a bases-loaded walk to tie the game. But Ryan Theriot hit a tapper and Volquez left his feet while making a throw to the plate that forced Arias by a hair to end the inning.The Giants were quiet until the eighth, when they used a walk, three singles and a sacrifice fly to score a pair of runs and cut the Padres lead to 5-4. Belt contributed the RBI hit and Brandon Crawford hit the sacrifice fly to complete a rally that Aubrey Huff began with a walk.They completed the comeback in the ninth against Huston Street when Nady hit the sixth pinch homer of his career, sending it over the wall to dead center and yes, beyond the reach of Cameron Maybin, who had reached over the fence to rob him a day earlier.Francisco Peguero, who had entered as a pinch runner for Huff in the eighth, followed with a single and Pence connected for his 24th homer of the season. The right fielder finished the day with 104 RBIs, including 45 in 56 games as a Giant.In fieldIt was another tough game for catcher Hector Sanchez, who couldnt throw out Cabrera on a pitchout because he bounced his throw. Sanchez also made an errant throw to third base on another stolen-base attempt, allowing Cabrera to trot home in the fifth.Bochy has insisted that its his preference that Sanchez, and not Buster Posey, has continued to catch Lincecum. Draw your own conclusions, gentle reader.Arias and Huff combined on two nice stretches to record an out on a chopper in the third inning. Peguero went to the wall to make a running catch in the eighth.AttendanceThe Padres announced 33,407 paid in the final game at Petco Park of 2012. Now the Padres jet to Milwaukee for a three-game series to end the season, including a night game in the finale. What did they do to tick off the schedule makers?Up nextThe Giants bus north to finish the regular season with three games at Dodger Stadium, aware that one more loss will knock out their archrivals from playoff contention. Matt Cain (16-5, 2.77) will face right-hander Aaron Harang (10-10, 3.68) on Monday, with Barry Zito and Ryan Vogelsong to follow in the next two games. The Dodgers finish the season with lefties Chris Capuano and Clayton Kershaw, although that might change if they are eliminated.