1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-09 15:18:06 -05:00

Corey Stup points out that any attempt to display the message "Unable to load

any WinSock library" will lead to a segfault.

[originally from svn r8625]
This commit is contained in:
Jacob Nevins 2009-08-21 20:05:24 +00:00
parent ace6564954
commit eadb18418d

View File

@ -335,7 +335,8 @@ void sk_cleanup(void)
sktree = NULL;
}
p_WSACleanup();
if (p_WSACleanup)
p_WSACleanup();
if (winsock_module)
FreeLibrary(winsock_module);
#ifndef NO_IPV6