While the spouse may not be liable for debt, the estate certainly is.
When you die owing money, they'll sell all your stuff to pay it off. Anything left goes to the spouse.
If there is nothing left, but still some debt, the surviving spouse (maybe) won't have to pay it.
http://www.cnbc.com/id/46308969