Also clear returned netreq when result came from LOCALNAMES namespace

This commit is contained in:
Willem Toorop 2019-12-20 12:42:52 +01:00
parent 24824bb413
commit 8b5c57bfcb
1 changed files with 2 additions and 0 deletions

View File

@ -651,6 +651,8 @@ getdns_general_ns(getdns_context *context, getdns_eventloop *loop,
req->is_dns_request = 0; req->is_dns_request = 0;
_getdns_call_user_callback _getdns_call_user_callback
( req, localnames_response); ( req, localnames_response);
if (return_netreq_p)
*return_netreq_p = NULL;
break; break;
} }
#ifdef HAVE_MDNS_SUPPORT #ifdef HAVE_MDNS_SUPPORT