Is comfort used to mean the same thing in the next two sentences?

His friendship was a comfort.

A padded chair was one of the room's few comforts.
the same meaning