diff options
Diffstat (limited to 'ares/adig.c')
-rw-r--r-- | ares/adig.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ares/adig.c b/ares/adig.c index a019d7c4c..65213780b 100644 --- a/ares/adig.c +++ b/ares/adig.c @@ -294,6 +294,11 @@ int main(int argc, char **argv) } ares_destroy(channel); + +#ifdef USE_WINSOCK + WSACleanup(); +#endif + return 0; } |