When someone dies and they have credit cards an no one else's name is on those credit cards then the debt will just be written off by the credit card company as a loss and nothing else should happen.
But if the person dies and a spouse has their name on the credit card then the spouse would become responsible for paying back the credit card debt.