Heroin overdose leads to child endangerment charge