mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
Fix platform cleanup on resolveHostName() failure
This commit is contained in:
@@ -104,7 +104,8 @@ unsigned int LiTestClientConnectivity(const char* testServer, unsigned short ref
|
|||||||
|
|
||||||
err = resolveHostName(testServer, AF_UNSPEC, TCP_PORT_FLAG_ALWAYS_TEST | referencePort, &address, &address_length);
|
err = resolveHostName(testServer, AF_UNSPEC, TCP_PORT_FLAG_ALWAYS_TEST | referencePort, &address, &address_length);
|
||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
return ML_TEST_RESULT_INCONCLUSIVE;
|
failingPortFlags = ML_TEST_RESULT_INCONCLUSIVE;
|
||||||
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < PORT_FLAGS_MAX_COUNT; i++) {
|
for (i = 0; i < PORT_FLAGS_MAX_COUNT; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user