Merge branch '366-missing-dereference-in-require-statement-v9_9' into 'v9_9'

Resolve "Missing dereference in REQUIRE statement?"

See merge request isc-projects/bind9!443
This commit is contained in:
Mark Andrews 2018-06-27 08:02:19 -04:00
commit 52013cbe27

View file

@ -1120,7 +1120,7 @@ cfg_parse_boolean(cfg_parser_t *pctx, const cfg_type_t *type, cfg_obj_t **ret)
cfg_obj_t *obj = NULL;
REQUIRE(pctx != NULL);
REQUIRE(ret != NULL && ret != NULL);
REQUIRE(ret != NULL && *ret == NULL);
UNUSED(type);