Paul Goldschmidt fought through an 11-pitch at-bat against Dodgers closer Brandon League and got a huge payoff at the end. Goldschmidt hit a tiebreaking, two-run homer in the ninth inning and the Arizona Diamondbacks beat the Dodgers 5-3 on Tuesday night, sending last-place Los Angeles to its sixth straight defeat. League (0-2) walked Gerardo Parra to open the ninth and struck out Didi Gregorius. Goldschmidt fouled off five full-count pitches before driving his seventh home run into the left-field pavilion. "When you get a chance to win the game, you want to come through for your team," Goldschmidt said. "Once we got to 3-2, he threw me five fastballs and I was just trying to fight them off. He's got that really good slider and split-finger, so I was trying to make sure that in case he threw that to just step back a little bit." Three nights earlier, League gave up a game-ending homer by Guillermo Quiroz in a 10-9 loss to the Giants. "Top of the ninth, tie game at home is pretty much a save situation. You've got to hold the game so you can walk `em off in the bottom of the ninth," League said. "My plan was to get Goldschmidt to ground into a double play. That's an example of what happens when you throw a (lousy) pitch. Mechanics are not the issue right now. I'm not all over the strike zone. I'm just not executing what I need to execute." David Hernandez (2-2) pitched a scoreless eighth for the win. Arizona closer J.J. Putz left with stiffness in his right elbow after issuing a leadoff walk in the ninth to Nick Punto, but Heath Bell got three outs for his second save after getting all the time he needed to warm up. "I think the last time that happened to me was in 2010, when I came in for Mike Adams after he felt something in his elbow," Bell said. "But tonight I had been warming up at that time to go in the game anyway if it was tied after nine. And as soon as I saw that something was going on, I got back up on the mound and started firing again." Putz will be re-evaluated on Wednesday. If he is sidelined for any amount of time, at least the Diamondbacks have a bona fide closer to fill in. Bell averaged 44 saves during a three-year stretch with San Diego, including a career-high 47 in 2010, and made the All-Star team in each of those seasons. "They brought me in to help out if J.J. needed a day off or if David needed a day off," Bell said. "I mean, you never want to see anybody hurt. But unfortunately, if he has to take some time on the DL, I think myself and David can fill in real nicely."