Is it ok to tell your husband about your friends marital problems?

So I have a childhood friend, met up and found out she's been having marital problems it was shocking what she had revealed and I tried to be calm and told her to go and get a consultation to how to deal with her husband and so on. When I was on my way home I was emotionally drained with the conversation we had, I called my sister and told her how tired and sad and angry I was ( didn't say anything specific about my friends problem respecting her privacy ) + did not want to vent to my husband about her. But as soon as I shut the phone from my sister my husband came home and he saw I guess how drained I was and told him generally what happened and I started crying for my friend.

Is it ok to tell your husband about your female friends problems?

What do generally goes through the guys mind regarding another female having problems?
Is it ok to tell your husband about your friends marital problems?
Post Opinion