Juan Pierre had four hits and scored a run for the Dodgers, who snapped a seven-game losing streak.
Starter Chad Billingsley (12-5) went 5 2/3 innings, yielding just one run on five hits, with six strikeouts and four walks.
Edgar Gonzalez (8-3) started and went just 3 1/3 innings for the Diamondbacks, giving up three runs on eight hits.
Pistorius testifies he didn't consciously pull trigger when he shot girlfriend
Pot vending machine to debut