complete the NULL pointer fixes

This commit is contained in:
Mark Andrews 2016-06-23 12:50:47 +10:00
parent 96d49a84ff
commit 5ba7394a4f

View file

@ -339,7 +339,7 @@ destroy(dns_dtenv_t *env) {
void
dns_dt_detach(dns_dtenv_t **envp) {
unsigned int refs;
dns_dtenv_t *env = *envp;
dns_dtenv_t *env;
REQUIRE(envp != NULL && VALID_DTENV(*envp));