Didi Gregorius bolted home on a wild pitch by Santiago Casilla (2-2) after he had doubled and then reached third base on a fielding error by first baseman Brandon Belt.
San Francisco had three errors in the game and saw their four-game winning streak come to an end. The Giants battled back from a 4-0 deficit to tie the game with two runs in the eighth and ninth innings.
Belt had two RBI in the game, in which the Giants outhit Arizona 12-10.
Costly malfunction causes beer flood at Boston-area brewery
Video of Victoria’s Secret models trying to 'twerk' hits Instagram