mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
'tql' must be non NULL, remove test.
255 flag_fail: 256 /* get rid of what was build of the query list */ CID 1452697 (#1 of 1): Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking tql suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 257 if (tql != NULL) 258 destroy_querylist(mctx, &tql);
This commit is contained in:
@@ -254,7 +254,6 @@ build_querylist(isc_mem_t *mctx, const char *query_str, char **zone,
|
|||||||
|
|
||||||
flag_fail:
|
flag_fail:
|
||||||
/* get rid of what was build of the query list */
|
/* get rid of what was build of the query list */
|
||||||
if (tql != NULL)
|
|
||||||
destroy_querylist(mctx, &tql);
|
destroy_querylist(mctx, &tql);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user