PLEASE!

Do not release him into the wild. He could be carrying diseases and parasites from god knows where that could devastate the wild amphibian population in your area. Especially if it is from the conditions you describe. there is no telling where the frog came from or what it has been exposed to in such cramped quarters.

It is better to keep one separate in temporary quarters until they are of compatible size.