“There has to be a clear message sent to other people at the agency,” she said, explaining that intelligence officers should understand that they, too, will be punished if they disclose classified information. “There’s going to be a price that will be paid.”
Source: Ex-CIA officer Jeffrey Sterling jailed for leaking – BBC News
Unless you are David Petraeus. Then you don’t have to worry about punishment.