mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Cleanup WIN32 target using WSACleanup().
This commit is contained in:
parent
48029d7e74
commit
45bf417301
@ -294,6 +294,11 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
ares_destroy(channel);
|
||||
|
||||
#ifdef USE_WINSOCK
|
||||
WSACleanup();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -143,6 +143,11 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
ares_destroy(channel);
|
||||
|
||||
#ifdef USE_WINSOCK
|
||||
WSACleanup();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user