You are correct of course.
Example being the gross irresponsibility of Wikileaks releasing unredacted documents that detailed source identities (although all I know about this is anecdata).