From 2b3b626cc13311fd91f3fea57d916c50ea5664f4 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 28 Sep 2018 18:59:30 +1000 Subject: [PATCH] set fctx->client to NULL --- lib/dns/resolver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index c562b9094f..df24057632 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -4720,6 +4720,7 @@ fctx_create(dns_resolver_t *res, const dns_name_t *name, dns_rdatatype_t type, fctx->rand_bits = 0; fctx->timeout = false; fctx->addrinfo = NULL; + fctx->client = NULL; fctx->ns_ttl = 0; fctx->ns_ttl_ok = false;