From 57d32ef99d7a8d2356633ddd9b9b6bf8332a82fd Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 17 May 2000 00:00:55 +0000 Subject: [PATCH] In fctx_query, if dns_dispatch_create fails jump to cleanup_query instead of cleanup_dispatch; there is no query->dispatch to clean up. --- lib/dns/resolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 65576f137f..ab3c0ffd68 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -678,7 +678,7 @@ fctx_query(fetchctx_t *fctx, dns_adbaddrinfo_t *addrinfo, */ isc_socket_detach(&socket); if (result != ISC_R_SUCCESS) - goto cleanup_dispatch; + goto cleanup_query; } else { switch (isc_sockaddr_pf(addrinfo->sockaddr)) { case PF_INET: