Deallocate any state or resources held by this object. Not calling this function will leak resources.