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
aa0296e3
Commit
aa0296e3
authored
Dec 13, 2020
by
Haidong Yu
Committed by
Alexandre Julliard
Dec 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inetcpl.cpl: Fix memory leak in security_on_initdialog.
Signed-off-by:
yuhaidong
<
yuhaidong@uniontech.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d91e9514
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
security.c
dlls/inetcpl.cpl/security.c
+1
-0
No files found.
dlls/inetcpl.cpl/security.c
View file @
aa0296e3
...
@@ -323,6 +323,7 @@ static INT_PTR security_on_initdialog(HWND hsec)
...
@@ -323,6 +323,7 @@ static INT_PTR security_on_initdialog(HWND hsec)
TRACE
(
"using imagelist: %p
\n
"
,
sd
->
himages
);
TRACE
(
"using imagelist: %p
\n
"
,
sd
->
himages
);
if
(
!
sd
->
himages
)
{
if
(
!
sd
->
himages
)
{
ERR
(
"ImageList_Create failed!
\n
"
);
ERR
(
"ImageList_Create failed!
\n
"
);
security_on_destroy
(
sd
);
return
FALSE
;
return
FALSE
;
}
}
SendMessageW
(
sd
->
hlv
,
LVM_SETIMAGELIST
,
LVSIL_NORMAL
,
(
LPARAM
)
sd
->
himages
);
SendMessageW
(
sd
->
hlv
,
LVM_SETIMAGELIST
,
LVSIL_NORMAL
,
(
LPARAM
)
sd
->
himages
);
...
...
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