release hdc objects