PHOENIX (AP) -- Patrick Corbin was all over the place at the start of the game. Fortunately for the Arizona Diamondbacks, he settled down in time to put together another great performance.
Corbin matched a career high with 10 strikeouts for the second straight start, and the Diamondbacks beat the Milwaukee Brewers 2-1 on Friday night.
Corbin (11-1) allowed a run and seven hits in 6 2-3 innings. The All-Star left-hander threw three wild pitches - tying a franchise record - hit a batter and walked two, but still managed to win consecutive starts for the first time since he won seven in a row from April 28 to June 2.
''Early in the count I wasn't locating and they got some hits,'' Corbin said. ''When they got some guys on I made some pitches to get out of jams.''
The Diamondbacks' beleaguered bullpen managed to hold on for Arizona's seventh victory in the last 10 games. Heath Bell escaped a jam in the eighth thanks to a diving catch by center fielder A.J. Pollock, and David Hernandez finished for his second save in seven chances.
''I didn't have much time to think. It was a couple of steps and I was diving there. I'm just glad I got a decent jump.'' Pollock said of his big play.
Bell had blown a save opportunity in each of his last two outings, leaving the closer spot unsettled. Bell, Hernandez and J.J. Putz, who got two outs in the eighth, came into the game with five blown saves apiece this season.
''That's what we do, we grind out victories,'' Hernandez said. ''I'm happy to close out a game for Pat and send him off to the All-Star game.''
Milwaukee starter Tom Gorzelanny (1-3) pitched six effective innings on his 31st birthday, but was saddled with the hard-luck loss. He allowed two unearned runs and three hits.
The Brewers chased Corbin in the seventh, but were unable to take advantage of a prime scoring opportunity. Yuniesky Betancourt had a leadoff double and Logan Schafer followed with a base hit to right, putting runners on second and third.
Corbin retired the next two hitters, and then walked fellow All-Star Jean Segura to load the bases. Will Harris came in and struck out another All-Star, Carlos Gomez, to end the inning.
Milwaukee went 1 for 12 with runners in scoring position and left 11 on base.
''When it rains, it pours,'' Brewers catcher Jonathan Lucroy said. ''I feel like everything that can go wrong, does. We struggled getting runners in from third with less than two outs, and that's what beat us.''
Arizona scored in each of the first two innings, taking advantage of a pair of defensive miscues by Milwaukee.
Adam Eaton led off the first with a base hit and raced to third on errant pickoff attempt by Gorzelanny. He came home when Paul Goldschmidt bounced to third baseman Betancourt, tying it at 1.
Betancourt misplayed a sharp ground ball in the second that kicked off his glove for an error, allowing Cody Ross to score from second.
That was enough for Corbin, despite a wild start that cost him a run in the first. Segura reached on a one-out infield single and moved up on Gomez's sacrifice before a pair of wild pitches allowed him to come home.
Corbin threw a third wild pitch in the fourth inning after Lucroy led off with a double. Lucroy was on third with no one out, but Rickie Weeks popped up, Sean Halton was retired on a shallow fly ball and Betancourt struck out.
''Certainly had opportunities, and we just can't get it done,'' Milwaukee manager Ron Roenicke said. ''We don't do a good job with people on base. To have that many opportunities and not to have somebody come through, it shouldn't go on this long.''
The Brewers loaded the bases with two out in the eighth inning. Bell came on to a chorus of boos, but retired pinch hitter Martin Maldonado on the ball hit to Pollock.
NOTES: The Diamondbacks have an extra-base hit in a major league-best 77 straight games. ... The Diamondbacks will play a makeup game against the Texas Rangers on Aug. 1 in Arlington. The May 29 game between the teams was rained out. ... Brewers pitcher Marco Estrada will throw a bullpen session Saturday. He's on the 15-day disabled list with a strained left hamstring. ... Weeks played in his 1,000th career game, making him the 11th player in club history to reach that mark. ... Right fielder Norichika Aoki took an extra-base hit away from Pollock with a lunging catch near the fence in the sixth inning. Schafer stole a hit from Martin Prado in the seventh with a diving catch of a sinking drive to left.