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
3447567b
Commit
3447567b
authored
Jun 21, 2014
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jun 23, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Grab borrowed debugger reference while handling wake_up() events. (Valgrind).
parent
8fe759df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
debugger.c
server/debugger.c
+7
-1
No files found.
server/debugger.c
View file @
3447567b
...
...
@@ -241,7 +241,13 @@ static void link_event( struct debug_event *event )
assert
(
debug_ctx
);
grab_object
(
event
);
list_add_tail
(
&
debug_ctx
->
event_queue
,
&
event
->
entry
);
if
(
!
event
->
sender
->
debug_event
)
wake_up
(
&
debug_ctx
->
obj
,
0
);
if
(
!
event
->
sender
->
debug_event
)
{
/* grab reference since debugger could be killed while trying to wake up */
grab_object
(
debug_ctx
);
wake_up
(
&
debug_ctx
->
obj
,
0
);
release_object
(
debug_ctx
);
}
}
/* find the next event that we can send to the debugger */
...
...
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