Expected, unless the leaked doc said "ignore court order" or "kill the Presi..." leaking is illegal.
The person that leaked this knew that he /she would be prosecuted, if... Let's hope that he took care not to leave any crumbs as he gave the info to the Guardian