Commit ca4d35fe authored by Johannes Stezenbach's avatar Johannes Stezenbach Committed by Alexandre Julliard

ws2_32: Set *res = NULL for error return from WS_getaddrinfo().

parent a3ae4195
......@@ -3480,6 +3480,7 @@ int WINAPI WS_getaddrinfo(LPCSTR nodename, LPCSTR servname, const struct WS_addr
freeaddrinfo(unixaires);
} else {
result = convert_eai_u2w(result);
*res = NULL;
}
return 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