| commit | 17d455b71d44158a38f170c64a77dc46dc0ac404 | [log] [tgz] |
|---|---|---|
| author | Marcus Meissner <marcus@jet.franken.de> | Wed Sep 29 12:10:44 1999 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Wed Sep 29 12:10:44 1999 +0000 |
| tree | 96beb29e1cab666928bdadeb52b2517a8829aedf | |
| parent | 48dfed70dffc671e686b0d31b35c107bb2224aaf [diff] [blame] |
Set refcounter to 1 on initial init or WSAStartup/WSAStartup with following WSACleanup will already free the structures.
diff --git a/misc/winsock.c b/misc/winsock.c index 5d9a519..2d5fcb2 100644 --- a/misc/winsock.c +++ b/misc/winsock.c
@@ -554,7 +554,7 @@ _wsi_list = pwsi; pTask->pwsi = pwsi; } - else pwsi->num_startup++; + pwsi->num_startup++; /* return winsock information */