This is exactly why there should be child drop-off facilities.
Many states, including South Carolina, have enacted laws establishing "safe havens".
http://www.childwelfare.gov/systemwide/laws_policies/statutes/safehaven.cfm