Set refcounter to 1 on initial init or WSAStartup/WSAStartup with
following WSACleanup will already free the structures.
This commit is contained in:
parent
48dfed70df
commit
17d455b71d
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue