mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-23 02:28:55 +00:00
silence coverity false positive
This commit is contained in:
parent
394c1ac533
commit
f2d09cd90d
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: adb.c,v 1.241 2008/05/03 05:07:13 marka Exp $ */
|
/* $Id: adb.c,v 1.242 2008/10/15 04:22:30 marka Exp $ */
|
||||||
|
|
||||||
/*! \file
|
/*! \file
|
||||||
*
|
*
|
||||||
@ -3127,8 +3127,10 @@ fetch_callback(isc_task_t *task, isc_event_t *ev) {
|
|||||||
address_type = DNS_ADBFIND_INET6;
|
address_type = DNS_ADBFIND_INET6;
|
||||||
fetch = name->fetch_aaaa;
|
fetch = name->fetch_aaaa;
|
||||||
name->fetch_aaaa = NULL;
|
name->fetch_aaaa = NULL;
|
||||||
}
|
} else
|
||||||
INSIST(address_type != 0);
|
fetch = NULL;
|
||||||
|
|
||||||
|
INSIST(address_type != 0 && fetch != NULL);
|
||||||
|
|
||||||
dns_resolver_destroyfetch(&fetch->fetch);
|
dns_resolver_destroyfetch(&fetch->fetch);
|
||||||
dev->fetch = NULL;
|
dev->fetch = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user