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
bfc4c710
Commit
bfc4c710
authored
Apr 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Only call the driver DestroyCursorIcon entry point for valid handles.
parent
94a3c098
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
cursoricon.c
dlls/user32/cursoricon.c
+1
-3
No files found.
dlls/user32/cursoricon.c
View file @
bfc4c710
...
...
@@ -172,6 +172,7 @@ static BOOL free_icon_handle( HICON handle )
ULONG_PTR
param
=
obj
->
param
;
HeapFree
(
GetProcessHeap
(),
0
,
obj
);
if
(
wow_handlers
.
free_icon_param
&&
param
)
wow_handlers
.
free_icon_param
(
param
);
USER_Driver
->
pDestroyCursorIcon
(
handle
);
return
TRUE
;
}
return
FALSE
;
...
...
@@ -1561,10 +1562,7 @@ BOOL WINAPI DestroyIcon( HICON hIcon )
TRACE_
(
icon
)(
"%p
\n
"
,
hIcon
);
if
(
CURSORICON_DelSharedIcon
(
hIcon
)
==
-
1
)
{
USER_Driver
->
pDestroyCursorIcon
(
hIcon
);
free_icon_handle
(
hIcon
);
}
return
TRUE
;
}
...
...
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