Clear domainname.

This commit is contained in:
Philip Homburg 2022-09-02 16:19:26 +02:00
parent 291ecdae64
commit 560053f3e3
1 changed files with 1 additions and 0 deletions

View File

@ -3705,6 +3705,7 @@ fprintf(stderr, "in getdns_context_set_local_proxy_policy\n");
goto error;
/* domain-name */
policies->policies[i].domainname = NULL;
if ((r = getdns_dict_get_bindata(
dict, "domain-name", &domain_name)) == GETDNS_RETURN_GOOD) {
policies->policies[i].domainname=