Snowden and the hypocrisy of some world leaders

I don’t want to get into the issue if Edward Snowden is a hero or a criminal for releasing details of the mass security surveillance programs in the USA. What I want to mention is that some world leaders, especially from South America, who are claiming what a hero he is to the free world etc etc. It go figure that those very same leaders put in jail those in their countries who do the same thing. Hypocrisy?