1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Petri Kero pointed out a FreeLibrary() call that should be guarded by NO_IPV6.

[originally from svn r5268]
This commit is contained in:
Jacob Nevins 2005-02-07 12:23:10 +00:00
parent 3fa46caeb8
commit 0259612237

View File

@ -251,8 +251,10 @@ void sk_cleanup(void)
p_WSACleanup(); p_WSACleanup();
if (winsock_module) if (winsock_module)
FreeLibrary(winsock_module); FreeLibrary(winsock_module);
#ifndef NO_IPV6
if (wship6_module) if (wship6_module)
FreeLibrary(wship6_module); FreeLibrary(wship6_module);
#endif
} }
char *winsock_error_string(int error) char *winsock_error_string(int error)