mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05: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