ws2_32: Set *res = NULL for error return from WS_getaddrinfo().
This commit is contained in:
parent
a3ae419594
commit
ca4d35fe48
|
@ -3480,6 +3480,7 @@ int WINAPI WS_getaddrinfo(LPCSTR nodename, LPCSTR servname, const struct WS_addr
|
||||||
freeaddrinfo(unixaires);
|
freeaddrinfo(unixaires);
|
||||||
} else {
|
} else {
|
||||||
result = convert_eai_u2w(result);
|
result = convert_eai_u2w(result);
|
||||||
|
*res = NULL;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue