Cleanup WIN32 target using WSACleanup().

This commit is contained in:
Gisle Vanem 2007-02-21 15:01:51 +00:00
parent 48029d7e74
commit 45bf417301
2 changed files with 10 additions and 0 deletions

View File

@ -294,6 +294,11 @@ int main(int argc, char **argv)
}
ares_destroy(channel);
#ifdef USE_WINSOCK
WSACleanup();
#endif
return 0;
}

View File

@ -143,6 +143,11 @@ int main(int argc, char **argv)
}
ares_destroy(channel);
#ifdef USE_WINSOCK
WSACleanup();
#endif
return 0;
}