PHOENIX -- 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. Goldschmidts drive bounced high off the batters backdrop in deep centre 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. Nathan Eovaldi, activated from the disabled list and making his first start since Sept. 30, scattered three hits over seven innings for the Marlins, who had won two in a row. Miami has won three straight only twice this season. The Marlins took a 2-0 lead in the fourth against Randall Delgado. Derek Dietrich hit an RBI triple and scored on Adeiny Hechavarrias single. Eovaldi, who had missed the seasons first two-plus months with inflammation in his right shoulder, walked Miguel Montero with two outs in the fourth and Prado followed with his first homer since April 29. Delgado, recalled from Triple-A earlier Tuesday, gave up two runs on eight hits and struck out six in seven innings. NOTES: Prados home run was his first in 167 at-bats spanning 44 games. ... To make room for Eovaldi, the Marlins optioned LHP Edgar Olmos to Double-A Jacksonville. ... The Diamondbacks optioned RHP Charles Brewer to Triple-A Tucson to make room for Delgado. ... It was Delgados 25th career start and first with Arizona. The right-hander came to the Diamondbacks in January in a trade that also brought Prado to Arizona for Justin Upton. ... Delgado had pitched once before for Arizona this season, allowing two runs on four hits in two innings after being recalled when RHP Brandon McCarthy was placed on the 15-day disabled list. ... McCarthy, on the 15-day DL with right shoulder inflammation, threw on flat ground from 105 feet on Tuesday. ... Diamondbacks RHP Trevor Cahill will try to snap a three-game losing streak Wednesday afternoon when he faces RHP Jose Fernandez and the Marlins. Lou Brock Jersey . Gerald Green and Miles Plumlee? Green had bounced around the NBA when he wasnt playing overseas. The Pacers gave up on Plumlee after just one season. Now Green and Plumlee are key cogs in the Suns surprising breakout season. Enos Slaughter Jersey . The scientists believe the small earthquake during a Marshawn Lynch touchdown was likely greater than Lynchs famous "beast quake" touchdown run three years ago, which also came against New Orleans during a playoff game. http://www.authenticcardinalspro.com/cardinals-tim-mccarver-jersey/ . Numbers Game looks into the Canadiens securing the services of Thomas Vanek in a trade with the New York Islanders. The Canadiens Get: LW Thomas Vanek and a conditional fifth-round pick. Mark McGwire Jersey .C. Lions has come to an end. Banks told TSN on Jan 2 that he had no interest in playing out the option year of his contract with the Lions in 2014, and he again made that clear in a conversation with Lions GM Wally Buono last week. Mike Shannon Cardinals Jersey . Isner, ranked No. 14, won his eighth career singles title and took the title in New Zealand for the second time after his victory in 2010. The match was similar to Isners quarterfinal victory over fifth-seeded Philipp Kohlschreiber which went to three sets, all tiebreaks and contained no breaks of serve. ' ' '