summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Moizard <amoizard@gmail.com>2015-01-08 11:04:08 +0100
committerAymeric Moizard <amoizard@gmail.com>2015-01-08 11:04:08 +0100
commit7296b331946b232c027b0047ee1cfef5dd99a1a9 (patch)
treedfbf2b5f4f496af38f169edf317acfb0f6dce314
parentfde92e8efa9c1b4761c6879bde27e8906fcd8480 (diff)
downloadexosip-7296b331946b232c027b0047ee1cfef5dd99a1a9.tar.gz
add WSACleanup for each WSAStartup call
-rw-r--r--src/eXconf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eXconf.c b/src/eXconf.c
index 3fd250b..c7fdebd 100644
--- a/src/eXconf.c
+++ b/src/eXconf.c
@@ -301,6 +301,9 @@ eXosip_quit (struct eXosip_t *excontext)
memset (excontext, 0, sizeof (eXosip_t));
excontext->j_stop_ua = -1;
+#ifdef WIN32
+ WSACleanup();
+#endif
return;
}