SAN FRANCISCO -- Brett Tomko received a firm handshake and a thank you from the general manager and a hug from his catcher.
Whether they were also goodbye gestures is uncertain, but the right-hander erased months of frustration with an impressive six-hitter in what could have been his final game for the Giants.
Tomko pitched his third complete game of the year, Moises Alou homered and San Francisco snapped a five-game skid with a 3-1 victory over the Arizona Diamondbacks on Sunday.
"It was a nice way to end it," Tomko said. "I got over 190 innings and got my ERA down. I've got some things to take into the winter and have a little firepower on my side. ... I told Felipe (Alou), 'This is my game, I want to go back out.' I hadn't won in a long time."
The Giants finished 75-87 after making a late run at San Diego, which won the NL West despite an 82-80 record. The injury-plagued Giants were surely left wondering how they would've fared this season had Barry Bonds been healthy.
"Even without Barry playing, we thought we were going to have a really good season," manager Felipe Alou said. "The effort was there. I don't have a guy to accuse of not hustling or not working hard all year."
Bonds, who turned 41 in July, shut it down for the final four games of the season after missing most of the year because of a bad knee. He played 14 games overall, and the seven-time NL MVP batted .286 (12-for-42) with five home runs and 10 RBI, drawing nine walks and striking out six times.
Bonds has 708 career homers, third on the all-time list behind Babe Ruth (714) and Hank Aaron (755). After the season finale, Bonds came out of the clubhouse in street clothes and joined his teammates in waving to the crowd. His locker had long since been cleaned out.
The Diamondbacks had won seven straight games -- the club's best streak since a 12-game run in 2003 -- before losing the wrapup. They still finished second in the division with a 77-85 record under first-year manager Bob Melvin, a drastic improvement from their awful 111-loss season of 2004.
"We finished great," Melvin said. "We battled hard and finished strong. It all depends on how you evaluate it. The division was down, but from where we were last year, we improved."
Tomko (8-15) struck out four and walked none in his 12th career complete game and third of the year. He ended a frustrating stretch of 10 winless starts and earned his first victory since defeating Florida 8-5 on July 22.
Tomko was demoted to the bullpen twice because of his pitching problems after being the team's most consistent starter down the stretch a year ago.
Alou, the Giants' lone All-Star this year, connected for his 19th home run leading off the second against Brandon Webb (14-12). Randy Winn added an RBI triple.
Winn tripled in the third and singled in the seventh. He was a major bright spot since joining the Giants in a July 30 trade with the Seattle Mariners. Winn, who batted third Sunday in the spot he's expected to take in the order in 2006, had 51 hits in September and led the majors with a .447 average that month -- the most hits in one month by a Giants player in more than 30 years.
Winn received a long ovation when lifted for a pinch-runner in the seventh and he came out of the dugout and tipped his batting helmet to the crowd. Winn batted .359 (83-for-231) with 14 homers and 26 RBI in 58 games for San Francisco. He finished with a career-high 20 homers total in both leagues.
Webb, who began the year 6-0, had his stretch of three straight winning decisions stopped.
"I didn't have my best stuff, but I got by," he said.
J.T. Snow got his 1,500th career hit when he singled in the first for San Francisco, Felipe Alou immediately subbed in rookie Lance Niekro as a pinch-runner.
Snow, who becomes a free agent after the season, received a loud standing ovation as he ran into the dugout, then he came back out and tipped his hat and waved.
"Just a nice round number," Snow said of his milestone. "I can honestly say I've worked hard for every one of them. They don't come easily. I can remember back to my first hit."