Leaks are not really a problem. If the penalties are severe enough, and enforced, leaks dry right up.
The POTUS could provide the National Security Agency with a very carefully handcrafted memorandum, identifying leaks as a national security reportable issue.
Once it has been determined who is leaking, and to whom, the NSA forwards a report to a designated national security court, who, on reaching a finding of a breach of classified information, submits a warrant for detention of the leaker, and if possible, the recipient, to federal police like the US Marshals.
Note that this is detention, not arrest, so they are put “on ice”, until the severity of the leak can be determined, and the leak neutralized, if possible. From that point it is discretionary as to whether they will be prosecuted.
And why would obastard give such an order, which would likely lead to him and his top aides being detained? After all, the leaks are coming from him for political purposes!
These leaks are no accident or by some low level person.
They are being done at the specific insistance of Obama to make him look good!