Maybe you are confused but Manning was not caught giving information to wikileaks, he was caught because he trusted Adrian Lamo (best snitch name ever) who promised Manning confidentiality as a journalistic source and then turned around and reported him instead.
Manning claimed (to Lamo) that he gave info to wikileaks but wikileaks has never confirmed that in any way.