projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5150fe4
)
Add WSACleanup() for Win32 socket cleanup.
author
Bruce Momjian
<
[email protected]
>
Thu, 5 May 2005 16:36:20 +0000
(16:36 +0000)
committer
Bruce Momjian
<
[email protected]
>
Thu, 5 May 2005 16:36:20 +0000
(16:36 +0000)
Jason Erickson
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index 6e546e75a19a53a3dc6a5888ef06896b4d402490..a199e4b942c785ee1cb232e488809229073802ef 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-2034,6
+2034,10
@@
freePGconn(PGconn *conn)
PGnotify *notify;
pgParameterStatus *pstatus;
+#ifdef WIN32
+ WSACleanup();
+#endif
+
if (!conn)
return;