In fctx_query, if dns_dispatch_create fails jump to cleanup_query instead

of cleanup_dispatch; there is no query->dispatch to clean up.
This commit is contained in:
David Lawrence 2000-05-17 00:00:55 +00:00
parent 5474061e76
commit 57d32ef99d

View file

@ -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: