So if they witness a crime, they should speak out. Manning did release evidence of several crimes leading up to and during the wars in Iraq and Afghanistan:
The cheerful murder of Reuters journalists and later innocents who came to help by that helicopter crew
The purchase of child prostitutes for entertainment by Dyncorp
The illegal collection of DNA from UN officials and representatives (straight from Dr. Strangelove!)
etc.
Now as you say he also released a lot of other material, which wasn't directly related to any crime, so he should expect to be punished for that indiscriminate release, and it weakens his case, but I'd also expect some clemency given that the release was clearly in the public interest and revealed many unlawful orders and coverups.
I don't think he deserves 35 years for that, compared to the 6 months sentence of Sgt. Sabrina Harman who tortured and abused detainees, it seems disproportionate.