Toronto — DeMar DeRozan scored 26 points, Kyle Lowry had 12 of his 21 in the fourth quarter and the Toronto Raptors beat Charlotte 96-90 on Tuesday night, handing the Hornets back-to-back losses for the first time in more than two months.

Jonas Valanciunas had 12 points and 12 rebounds and Corey Joseph added 11 points, including two key free throws in the closing seconds, as the Raptors won for the third time in four games.

Charlotte, which lost at Cleveland on Sunday, had not lost consecutive games since defeats at Utah and Portland on Jan. 27 and 29. They Hornets had won 22 of 29 since.

Jeremy Lin matched a season best with four 3-pointers and scored 21 points for Charlotte, while Marvin Williams had 15.

Grizzlies 108, Bulls 92

Memphis, Tenn. — Zach Randolph had 27 points and 10 rebounds, Vince Carter added 17 points and Memphis snapped a six-game losing streak by beating Chicago.

Memphis used a strong defense missing in recent games to turn back the Bulls, who had won three of four. Chicago never got the deficit under double digits in the fourth quarter of a loss that damaged its playoff hopes.

Matt Barnes scored 16 points for Memphis, and Jordan Farmar had 15.

Cavaliers 109, Bucks 80

Milwaukee — J.R. Smith scored 21 points and went 7 of 11 from 3-point range to lead hot-shooting Cleveland over Milwaukee.

Kevin Love added 17 points and shot 3 of 6 from behind the arc for the Cavaliers, who maintained a 3 ½-game lead over Toronto for the best record in the Eastern Conference.

LeBron James finished with 17 points and shot 7 of 9 from the field to go with nine assists. He watched the entire fourth quarter from the bench on an easy night for Cleveland, which led by 24 by halftime.

Heat 107, Pistons 89

Miami — Goran Dragic scored 22 points to lead six Miami players in double figures, Dwyane Wade added 16 and the Heat beat Detroit.

Josh Richardson also had 16 for Miami (45-32), which remained in fifth place in the airtight Eastern Conference playoff race. No. 3 Atlanta (46-32) beat Phoenix on Tuesday, No. 4 Boston (45-32) was idle but holds the tiebreaker over the Heat and No. 6 Charlotte (44-33) lost in Toronto to fall a game behind Miami.

The Heat got 14 points and 12 rebounds from Hassan Whiteside, 12 points from Luol Deng and 11 from Joe Johnson. The Heat held Detroit to 40 percent shooting, 24 percent from 3-point range.

Hawks 103, Suns 90

Atlanta — Jeff Teague scored 20 points, Kent Bazemore added 17 and Atlanta rallied from 13 down in the third quarter to beat Phoenix.

Atlanta avoided its first three-game losing streak since Feb. 19-22 and moved one-half game ahead of idle Boston for third place in the Eastern Conference.

The Hawks began the night with a one-half game lead in the Southeast Division with Miami and Charlotte.

Paul Millsap had 17 rebounds, 13 points and a game-high eight assists and Al Horford 16 points and 10 rebounds for Atlanta.

Sixers 107, Pelicans 93

Philadelphia — Carl Landry scored 22 points to lead Philadelphia to a victory over injury-depleted New Orleans, ensuring that the 76ers won’t tie their own league record for fewest victories in an 82-game season.

Philadelphia improved to 10-68 and now is one win clear of the 1972-73 76ers, who set an NBA mark for futility with a 9-73 mark. The 76ers have four games remaining.

Isaiah Canaan added 16 points for the 76ers, who snapped a 12-game losing streak while winning for just the second time in the last 27 contests.

Landry made his first nine shots before finishing 9 for 10 from the field, including tying a career high with two 3-pointers.

Dante Cunningham led the Pelicans with 19 points and Alexis Ajinca chipped in 12 points and 10 rebounds.