D-backs closer Fernando Rodney entered a tie game in the top of the ninth and walked two and threw a wild pitch in allowing the Giants to score and grab a 5-4 lead.
Melancon, who signed a four-year, $62 million deal during the offseason, came on in the ninth and after retiring the first two batters allowed a double to Jeff Mathis and a single to pinch-hitter Daniel Descalso, which tied the game.
