Commit 15c0db36 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dnsapi: Fixed missing lock release on error path.

parent 6311d444
......@@ -628,7 +628,10 @@ DNS_STATUS WINAPI DnsQuery_UTF8( PCSTR name, WORD type, DWORD options, PIP4_ARRA
_res.options |= dns_map_options( options );
if (servers && (ret = dns_set_serverlist( servers )))
{
UNLOCK_RESOLVER();
return ret;
}
ret = dns_do_query( name, type, options, result );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment