From: jacob Date: Mon, 7 Feb 2005 12:23:10 +0000 (+0000) Subject: Petri Kero pointed out a FreeLibrary() call that should be guarded by NO_IPV6. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/635d063da010c2a98ba36c017d47baff92139eac Petri Kero pointed out a FreeLibrary() call that should be guarded by NO_IPV6. git-svn-id: svn://svn.tartarus.org/sgt/putty@5268 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windows/winnet.c b/windows/winnet.c index f6f7bab0..1ddfa5c7 100644 --- a/windows/winnet.c +++ b/windows/winnet.c @@ -251,8 +251,10 @@ void sk_cleanup(void) p_WSACleanup(); if (winsock_module) FreeLibrary(winsock_module); +#ifndef NO_IPV6 if (wship6_module) FreeLibrary(wship6_module); +#endif } char *winsock_error_string(int error)