projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Petri Kero pointed out a FreeLibrary() call that should be guarded by NO_IPV6.
[u/mdw/putty]
/
windows
/
winnet.c
diff --git
a/windows/winnet.c
b/windows/winnet.c
index
f6f7bab
..
1ddfa5c
100644
(file)
--- 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)