From 28225b5f4857ddada48c8bb2a349f077d24e51f1 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 9 Feb 2020 01:18:57 +0100 Subject: [PATCH] Fixed a crash within windows when resolving dns names --- native/dns/src/resolver_windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/native/dns/src/resolver_windows.cpp b/native/dns/src/resolver_windows.cpp index 6554d86..c5971f5 100644 --- a/native/dns/src/resolver_windows.cpp +++ b/native/dns/src/resolver_windows.cpp @@ -234,6 +234,7 @@ void Resolver::resolve_dns(const char *name, const rrtype::value &type, const rr delete data->lock; delete data; + return; } data->request->dns_result.pQueryRecords = query_results;