Less than one year after throwing his first no-hitter against the Padres, San Francisco Giants right-hander Tim Lincecum no-hit San Diego again Wednesday afternoon.

Lincecum came within one second-inning walk to third baseman Chase Headley from tossing a perfect game. Headley was the only baserunner he allowed over nine innings in the 4-0 victory, collecting six strikeouts at AT&T Park.

His first no-hitter came July 13, 2013, against the Padres at Petco Park in San Diego.

Lincecum's latest no-hitter came exactly a week after Clayton Kershaw of the Los Angeles Dodgers no-hit the Colorado Rockies.

With the victory, Lincecum, who won the Cy Young Award in 2008 and 2009, raised his season record to 6-5.

Lincecum also performed at the plate in the victory, going two-for-three with a walk. But the Giants' scoring was led by Buster Posey and Pablo Sandoval.

Each collected a double, with Posey going four-for-five with two RBIs and Sandoval going two-for-four with another RBI.

Ian Kennedy took the loss for the Padres, giving up four runs over 6 1/3 innings and dropping his season record to 5-9.