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
42e2c99c
Commit
42e2c99c
authored
Jun 26, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Fix a potential desktop reference leak.
parent
93a02e7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
window.c
server/window.c
+3
-3
No files found.
server/window.c
View file @
42e2c99c
...
...
@@ -1963,6 +1963,9 @@ DECL_HANDLER(get_window_children)
atom_t
atom
=
req
->
atom
;
struct
desktop
*
desktop
=
NULL
;
get_req_unicode_str
(
&
cls_name
);
if
(
cls_name
.
len
&&
!
(
atom
=
find_global_atom
(
NULL
,
&
cls_name
)))
return
;
if
(
req
->
desktop
)
{
if
(
!
(
desktop
=
get_desktop_obj
(
current
->
process
,
req
->
desktop
,
DESKTOP_ENUMERATE
)))
return
;
...
...
@@ -1974,9 +1977,6 @@ DECL_HANDLER(get_window_children)
if
(
!
parent
&&
!
(
desktop
=
get_thread_desktop
(
current
,
0
)))
return
;
}
get_req_unicode_str
(
&
cls_name
);
if
(
cls_name
.
len
&&
!
(
atom
=
find_global_atom
(
NULL
,
&
cls_name
)))
return
;
if
(
parent
)
total
=
get_children_windows
(
parent
,
atom
,
req
->
tid
,
NULL
,
0
);
else
...
...
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