aboutsummaryrefslogtreecommitdiff
path: root/ares/ahost.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ahost.c')
-rw-r--r--ares/ahost.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ares/ahost.c b/ares/ahost.c
index 6767b307f..2fa6dac76 100644
--- a/ares/ahost.c
+++ b/ares/ahost.c
@@ -143,6 +143,11 @@ int main(int argc, char **argv)
}
ares_destroy(channel);
+
+#ifdef USE_WINSOCK
+ WSACleanup();
+#endif
+
return 0;
}