Set refcounter to 1 on initial init or WSAStartup/WSAStartup with

following WSACleanup will already free the structures.
This commit is contained in:
Marcus Meissner 1999-09-29 12:10:44 +00:00 committed by Alexandre Julliard
parent 48dfed70df
commit 17d455b71d

View file

@ -554,7 +554,7 @@ INT16 WINAPI WSAStartup16(UINT16 wVersionRequested, LPWSADATA lpWSAData)
_wsi_list = pwsi;
pTask->pwsi = pwsi;
}
else pwsi->num_startup++;
pwsi->num_startup++;
/* return winsock information */