Remove unsafe calling of WSAStartup and WSACleanup from DllMain. Move the
Magnus Hagander <magnus@hagander.net>
Remove unsafe calling of WSAStartup and WSACleanup from DllMain. Move the inline cleanup call around so it will be called in the right order, and be called on errors. Per report from Tokuharu Yuzawa.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/bcc32.mak | modified | +2 −4 |
| src/interfaces/libpq/fe-connect.c | modified | +11 −8 |
| src/interfaces/libpq/libpqdll.c | deleted | +0 −33 |
| src/interfaces/libpq/win32.mak | modified | +1 −3 |