Kiriakou was charged with using numerous forms of classified information about foreign intelligence operations in order to promote a book, and, in doing so, outing a still-undercover foreign operative involved in the Zubaydah case. That operative had allegedly been under cover for over 20 years.
If you read the filings, you'll also see that Kiriakou claims to have outed the program accidentally --- in other words, that the leak didn't occur because he was deliberately blowing the whistle on the program, but instead by accident (or, as the USG would have it, negligence).
However terribly Zubaydah was treated by the CIA, we should probably remain clear on the fact that he was believed by everyone involved, including Kiriakou, to have been an integral part of the Al Qaeda network.
The case files are not themselves dispositive; I merely comment to suggest that it's harder to judge the Kiriakou case than it immediately seems.
I share the prevailing sentiment that our failure to prosecute CIA employees at all levels for torture is frustrating, and a miscarriage of justice. Though I'm not particularly interested in discussing that on HN.