Commit 3731a400 authored by Bruce Momjian's avatar Bruce Momjian

Add WSACleanup() for Win32 socket cleanup.

Jason Erickson
parent d445b413
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.304 2005/03/25 00:34:29 tgl Exp $ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.305 2005/05/05 16:36:12 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -2034,6 +2034,10 @@ freePGconn(PGconn *conn) ...@@ -2034,6 +2034,10 @@ freePGconn(PGconn *conn)
PGnotify *notify; PGnotify *notify;
pgParameterStatus *pstatus; pgParameterStatus *pstatus;
#ifdef WIN32
WSACleanup();
#endif
if (!conn) if (!conn)
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment