The delivery of a controlled substance under section 21418 for the purpose of disposing of the controlled substance is not a violation of this article.