Updated

Kawhi Leonard had 22 points and nine rebounds, and Malcolm Thomas had 22 points and four blocked shots for the No. 6 San Diego State Aztecs, who beat New Mexico 68-62 on Wednesday night to tie the school record with their 26th victory.

The Aztecs (26-1, 11-1 Mountain West) have the nation's best record and matched the school mark set by the 2008-09 team, which went 26-10 and reached the NIT semifinals. They've won six straight since their only loss, at Brigham Young on Jan. 26.

San Diego State took a 47-33 lead after Leonard made two free throws with 12:10 left, before New Mexico pulled back into the game and refused to go away.

Dairese Gary made two free throws with 1:20 left to bring New Mexico to 58-54. Leonard drove the baseline for a layup with 49.7 seconds left and Gary then hit a 17-foot jumper to make it 60-56. SDSU made eight of 10 free throws in the final 34.9 seconds, starting when D.J. Gay made one of two to make it 61-56.

Thomas then made one of two, with Leonard pulling down the rebound before being fouled. He made both free throws for a 64-56 lead.

Leonard fouled Tony Snell during a 3-point attempt and he made all three free throws to pull the Lobos within five. Thomas made two free throws before Snell answered with a 3-pointer with 8.3 seconds left to make it 66-62. Thomas finished the scoring with two free throws with 7.3 seconds left.

Gay had 11 points for the Aztecs. Leonard fell one rebound shy of his 19th double-double this season.

Gary scored 18 for New Mexico (17-9, 5-6). Snell had 14 and Drew Gordon 13.

Thomas had 11 points by halftime, helping SDSU to a 31-24 lead. He came up big during a 9-1 run late in the first half when SDSU took control. With New Mexico leading 16-15, Thomas made a bank shot to give SDSU the lead. He then blocked a shot by Snell, with James Rahon coming up with the ball and dribbling his way out of trouble before passing to Gay, who fed Thomas for a layup.

Chase Tapley hit a 3-pointer for a 22-16 lead before New Mexico's Phillip McDonald made the front end of a one-and-one. Thomas scored from inside to make it 24-17.

Leonard made a layup early in the second half, fed Thomas for a slam dunk and then made two free throws for a 39-28 lead with 16:09 left.