A crime is a crime and should be prosecuted as such but like everything in life, black and white creates a lot of grey.  The DNC leaks were not at all treasonous since they didn't involve governmental agencies.  They actually provided a window which exposed the collusion of the Hillary campaign and the DNC in undermining Bernie's campaign and the dirty tricks they used at Trump rallies.  Since this leak ultimately exposed Hillary as the cheater she is, the leaker was very much a patriot.