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