Pirates closer Mark Melancon gave up a pair of hits Sunday but pitched a scoreless ninth inning to earn his seventh save.

Melancon opened the ninth by allowing a single then surrendered a one-out infield single to put the winning run on base. He followed it up with a strikeout and groundout to end the game. Melancon owns a 3.77 ERA and 9:4 K:BB ratio in 14 1/3 innings. He hasn't given up an earned run in eight straight appearances.

"It was good to see [Melancon] finish things off," manager Clint Hurdle said to MLB.com. "It's a vote of confidence for the team. They believe in him, and when he goes out there to get things done, he's got to feel better about how things finish.

"He's incrementally getting a little bit better every time out."