A family tree has his death in 1852 Witton le Wear but I guess you would have to take a chance on a death certificate to be sure.
Thomas Smith not a good name to pick the right one either

Would Stockton be the right registration district for where they were in 1851?
If so there are two deaths in Jun 1852
10a 43 and 10a 16