]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Petri Kero pointed out a FreeLibrary() call that should be guarded by NO_IPV6.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Mon, 7 Feb 2005 12:23:10 +0000 (12:23 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Mon, 7 Feb 2005 12:23:10 +0000 (12:23 +0000)
[originally from svn r5268]

windows/winnet.c

index f6f7bab05916d3be99bd5258a68e0087433782d7..1ddfa5c7613590ea0a1ff14fc104586347bfac20 100644 (file)
@@ -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)