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
1356afed
Commit
1356afed
authored
Feb 26, 2018
by
Sebastian Lackner
Committed by
Alexandre Julliard
Feb 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Keep reference to terminated async in free_async_queue.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
12c6ac5f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
async.c
server/async.c
+2
-0
No files found.
server/async.c
View file @
1356afed
...
...
@@ -192,10 +192,12 @@ void free_async_queue( struct async_queue *queue )
LIST_FOR_EACH_ENTRY_SAFE
(
async
,
next
,
&
queue
->
queue
,
struct
async
,
queue_entry
)
{
grab_object
(
&
async
->
obj
);
if
(
!
async
->
completion
)
async
->
completion
=
fd_get_completion
(
async
->
fd
,
&
async
->
comp_key
);
async
->
fd
=
NULL
;
async_terminate
(
async
,
STATUS_HANDLES_CLOSED
);
async
->
queue
=
NULL
;
release_object
(
&
async
->
obj
);
}
}
...
...
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