I don't think the financial disincentive is necessarily corrupt, in the form of fines or asset forfeiture, but I think that they should never be allowed to contribute to government revenue in any way.
If the government has any incentive to prosecute somebody, other than a well founded and provable basis for believing they committed a crime, then the justice system just becomes a weapon to turn against the citizens it's supposed to be protecting. If the government has a financial incentive to prosecute certain crimes over others, then how the law is enforced is not going to align with community needs. For instance, that's why there's never enough police to attend burglaries, but always enough police for handing out speeding tickets.
Similar reason why drugs are destroyed with a lot of fanfare in most Latin American countries (er, when they are). Surely it'd be easier and cleaner to bury it somewhere after soaking it or something, but no, they need to make a pyramid of drugs and have someone throw a pyre at it to create a big symbolic bonfire that is a toxic mess to clean up.