PHOENIX -- Patrick Corbin threw six scoreless innings, Phil Gosselin and A.J. Pollock homered and the Arizona Diamondbacks snapped a four-game losing streak by beating the fading San Francisco Giants 6-1 on Monday.