You can prevent all the leaks by having nothing bad to leak. That is what is being suggested.
I get why people have this idea, but it doesn't work. A culture of "don't have anything bad to leak" quickly and inevitably leads to "keep your mouth shut so there's nothing bad to leak".
I don't think leaking is limited to "bad" things.