Patch of grass or mulch near by, or in a storm drain if there is one. Otherwise I continue carrying it until I get to such a place. If I'm in inside, like a mall or an airport, I pour in a restroom sink and then rinse it down the sink drain with water from the tap.
But it rarely comes to that. I generally finish whatever my drink is long before I have a need to throw the container out.