mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
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:
parent
5474061e76
commit
57d32ef99d
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue