The Giants' rotation problems took a break on Wednesday, thanks to Barry Zito, the double threat who was in the 3s in both pitching and hitting. He enteredthe series finale against Philadelphia with a 3.03 ERA and .333 batting average. When he was done, he lowered his ERA to 2.75 and was on target for his fourth win, but Sergio Romo blew his second save opportunity when permitting two ninth-inning runs. All it did was allow Andres Torres to hit a game-ending single in the 10th for a 4-3 victory for the Giants, who avoided getting swept by the Phillies in a three-game series here for the first time since 1984. Buster Posey opened the final inning with a pinch single, was sacrificed by Joaquin Arias and alertly took third on a wild pitch by Antonio Bastardo. After Brandon Crawford walked, Torres lined a two-out single to right-center, his fourth career walk-off hit. Asked to protect a 3-1 lead, Romo gave up an immediate double to Jimmy Rollins and issued a one-out walk to Michael Young. Chase Utley hit an RBI single, and Delmon Young's sacrifice fly made it 3-3. For much of the afternoon, it was Zito's time. He hit an RBI single and completed seven innings for the fourth time this season and was replaced after Carlos Ruiz singled to open the eighth. It was just the fourth hit off Zito, who didn't walk a batter for the first time in 2013.