Tim Lincecum's scoreless-innings streak ended at 23 innings Sunday, but he managed to pitch into the seventh inning and win his third start in a row as the Giants subdued the San Diego Padres, 5-3.