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.
Ray Liotta sues skin care company over use of likeness
Boston schools pull out free condoms over wrapping complaints