I doubt he would have had assassins on his trail, but he would have been put through the legal system the same way Manning was.
Also consider the court of public opinion -- there's enough of an uninformed mass who think this is a scumbag who gave American secrets to China and Russia that an administration can bend the laws quite a bit and get away with it.