The dramatic conclusion allowed the Kings to end a four-game skid. New Orleans lost its third straight and remained stuck on nine victories for the season.
New Orleans had a one-point lead and the ball with time running out when Thomas made an attempt at a steal. He failed in his first try and succeeded only in picking up a foul.
The Kings, however, were not yet in the bonus so there were no free throws. The next attempt by Thomas succeeded as he swiped the ball from Trevor Ariza, setting up the layup by Salmons.
Ariza then missed a fadeaway jumper at the buzzer.
New Orleans, which is 0-2 on a four-game trip, was paced by Jarrett Jack with 25.