It depneds on where you put it and what you plan to use it for. In a filter, with a high flow rate, I wouldn't put it in there for more than 3 weeks to remove some organics and toxins that corals like to give off.
But if you want to like I do, as a food source for denitrifiying bacteria(those in the process of nitrate to nitrogen) put it in a slow flow area of your sump and let the biofilm develop. The bacteria will then use the carbon as a food source in doing the nitrate to nitrogen process. But this must be a very porous carbon, like the one from Julian at Two Little Fishes.
Yes, leaching can occur this is why I have three bags and every 5 to 6 months I change one bag and put new carbon in it.
Brian