]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
complete the NULL pointer fixes
authorMark Andrews <marka@isc.org>
Thu, 23 Jun 2016 02:50:47 +0000 (12:50 +1000)
committerMark Andrews <marka@isc.org>
Thu, 23 Jun 2016 02:50:47 +0000 (12:50 +1000)
lib/dns/dnstap.c

index 072735b3112eb7e02c32d695e94cc9dc65e57483..b475174e330f9908bababef1a415b221191fab7a 100644 (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));