From 5ba7394a4fe9bc08be7c2d1bd2274b8c1a2fea1d Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 23 Jun 2016 12:50:47 +1000 Subject: [PATCH] complete the NULL pointer fixes --- lib/dns/dnstap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/dnstap.c b/lib/dns/dnstap.c index 072735b311..b475174e33 100644 --- a/lib/dns/dnstap.c +++ b/lib/dns/dnstap.c @@ -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));