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
d8058fbe
Commit
d8058fbe
authored
Apr 07, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Apr 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Should use release_object on an object instead of free.
parent
604cdff9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
queue.c
server/queue.c
+7
-6
No files found.
server/queue.c
View file @
d8058fbe
...
...
@@ -205,11 +205,6 @@ static struct thread_input *create_thread_input( struct thread *thread )
if
((
input
=
alloc_object
(
&
thread_input_ops
)))
{
if
(
!
(
input
->
desktop
=
get_thread_desktop
(
thread
,
0
/* FIXME: access rights */
)))
{
free
(
input
);
return
NULL
;
}
input
->
focus
=
0
;
input
->
capture
=
0
;
input
->
active
=
0
;
...
...
@@ -218,6 +213,12 @@ static struct thread_input *create_thread_input( struct thread *thread )
list_init
(
&
input
->
msg_list
);
set_caret_window
(
input
,
0
);
memset
(
input
->
keystate
,
0
,
sizeof
(
input
->
keystate
)
);
if
(
!
(
input
->
desktop
=
get_thread_desktop
(
thread
,
0
/* FIXME: access rights */
)))
{
release_object
(
input
);
return
NULL
;
}
}
return
input
;
}
...
...
@@ -855,7 +856,7 @@ static void thread_input_destroy( struct object *obj )
if
(
foreground_input
==
input
)
foreground_input
=
NULL
;
empty_msg_list
(
&
input
->
msg_list
);
release_object
(
input
->
desktop
);
if
(
input
->
desktop
)
release_object
(
input
->
desktop
);
}
/* fix the thread input data when a window is destroyed */
...
...
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