Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4756b088
Commit
4756b088
authored
Jan 17, 2001
by
Gerard Patel
Committed by
Alexandre Julliard
Jan 17, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change WSACleanup - wsinfo is a static structure now.
parent
4aaaf410
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
socket.c
dlls/winsock/socket.c
+2
-2
No files found.
dlls/winsock/socket.c
View file @
4756b088
...
...
@@ -341,7 +341,7 @@ static void WINSOCK_DeleteIData(void)
if
(
iData
->
buffer
)
SEGPTR_FREE
(
iData
->
buffer
);
if
(
iData
->
dbuffer
)
SEGPTR_FREE
(
iData
->
dbuffer
);
HeapFree
(
GetProcessHeap
(),
0
,
iData
)
;
wsinfo
.
num_startup
=
0
;
}
/***********************************************************************
...
...
@@ -676,7 +676,7 @@ INT WINAPI WSAStartup(UINT wVersionRequested, LPWSADATA lpWSAData)
INT
WINAPI
WSACleanup
(
void
)
{
LPWSINFO
pwsi
=
WINSOCK_GetIData
();
if
(
pwsi
)
{
if
(
pwsi
->
num_startup
)
{
if
(
--
pwsi
->
num_startup
>
0
)
return
0
;
WINSOCK_DeleteIData
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment