mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 19:41:04 -05:00
silence coverity false positive
This commit is contained in:
parent
394c1ac533
commit
f2d09cd90d
1 changed files with 5 additions and 3 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* 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
|
||||
*
|
||||
|
|
@ -3127,8 +3127,10 @@ fetch_callback(isc_task_t *task, isc_event_t *ev) {
|
|||
address_type = DNS_ADBFIND_INET6;
|
||||
fetch = name->fetch_aaaa;
|
||||
name->fetch_aaaa = NULL;
|
||||
}
|
||||
INSIST(address_type != 0);
|
||||
} else
|
||||
fetch = NULL;
|
||||
|
||||
INSIST(address_type != 0 && fetch != NULL);
|
||||
|
||||
dns_resolver_destroyfetch(&fetch->fetch);
|
||||
dev->fetch = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue