Andres Torres scored the deciding run from third base on Aubrey Huff's long foul out in the sixth inning and the Giants overcame another erratic start by pitcher Jonathan Sanchez to beat the Indians 4-3.