My oldest brother was just in town for a visit. He had a heart attack earlier this year. I gave him a hug when we parted. I would have hugged him anyway - without the heart attack.
I have no problem hugging when the occasion is appropriate, but am VERY selective - which makes my hugs so special.