Consider a closer analogy of report a number of child abusers to the police. One of these abusers is a father who abuses their child. Enough info is made public during the trial that the child is shamed for it (even though we can agree they should not be shamed for it). Are you guilty for shaming the child? Say another child is taken from their parents, both of whom had abused them but stopped and placed into foster care where they are abused again. Are you guilty for their continued abuse?
In the event of a shamed child, I am indeed responsible (not guilty, that has a legal connotation that's undesired here) for a child's shaming if I am the one who acted, and the result of which was the shaming, regardless of other outcomes. Had I not acted, the child would not have been shamed. Therefore I am the responsible actor in the child shaming (not exclusively, obviously).
You're apparently mixing both morality and legality, as well as what is happening vs. what ought to happen [0]. I am explicitly speaking in the realm of what is happening. You are responsible for the shaming of the child, the beating of the child, or the exposure of Joe Normal's loss of his job. Whether or not you were acting morally is an issue I'd like to address, but only once we've agreed on the premise that an actor is considered responsible for all direct consequences of his/her action.
Am I missing anything here?
Once again, blaming the leaker is blaming the wrong individual here.
There is already a cost to society of people not seeking treatment for mental health issues on the possibility the info might be leaked, not because the leak itself is a feared occurrence (in reality it is rare) but because of how irrational society reacts (especially when mental disorders are treated as moral failings).