You know, you are right, it isn’t treason. It is revealing classified information, which has felony penalty, but not treason unless making war, or supporting US enemies.
If he gave the information to ‘al Queda’, then it would count as treason.
We're agreed. I shall step away from the cudgels, if you do the same.