PHOENIX (AP) -- Paul Goldschmidt hit a leadoff home run in the bottom of the ninth inning and the Arizona Diamondbacks ended a four-game losing streak, beating the Miami Marlins 3-2 Tuesday night.
Goldschmidt's drive bounced high off the batter's backdrop in deep center field. His 17th homer of the season was his second in as many nights, and the second game-ending home run of his career.
Martin Prado also homered for the Diamondbacks.
David Hernandez (3-4) threw a perfect top of the ninth for the win. Chad Qualls (2-1) lost for the first time in 27 appearances, with Goldschmidt connecting on his second pitch.
Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.