OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d445b41
)
Add WSACleanup() for Win32 socket cleanup.
author
Bruce Momjian
<bruce@momjian.us>
Thu, 5 May 2005 16:36:12 +0000
(16:36 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Thu, 5 May 2005 16:36:12 +0000
(16:36 +0000)
Jason Erickson
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index
af80b85
..
f117599
100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-8,7
+8,7
@@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.30
4 2005/03/25 00:34:29 tgl
Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.30
5 2005/05/05 16:36:12 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
@@
-2034,6
+2034,10
@@
freePGconn(PGconn *conn)
PGnotify *notify;
pgParameterStatus *pstatus;
+#ifdef WIN32
+ WSACleanup();
+#endif
+
if (!conn)
return;