The first kind is leaks for glory, profit, etc, ie: we're about to release this hot new product and I'm sneakily letting TechNews.whatever know about it ahead of time. Maybe you get paid for this leak. Maybe you just do it because you're excited or want to feel important. It's rule-breaking behavior for personal gain, monetary or otherwise.
The second kind is the moral, ethical leak. Whistle-blowing. My company/government is doing something that I find horrendous, that violates my ethics, that I think is or should be illegal, and I want the world to know about it. I also don't want to lose my job because despite not liking what my organization is doing, I also like my life as it is. This is rule-breaking behavior not for personal gain, but for a sense of morality.
We should not let ourselves believe these are the same thing. The first is a selfish act, while the second is (to some extent) a selfless one. Those who yell "F--- you leakers" are trying to convince you its the same thing and use the negative emotions directed at the first to convince people not to do the second.