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
f7c665fd
Commit
f7c665fd
authored
Feb 25, 2024
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Also zero-initialize the background menu.
Fixes:
063a377d
parent
c37fea89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
shlview_cmenu.c
dlls/shell32/shlview_cmenu.c
+2
-6
No files found.
dlls/shell32/shlview_cmenu.c
View file @
f7c665fd
...
...
@@ -1541,8 +1541,8 @@ HRESULT BackgroundMenu_Constructor(IShellFolder *parent, BOOL desktop, REFIID ri
ContextMenu
*
This
;
HRESULT
hr
;
This
=
malloc
(
sizeof
(
*
This
));
if
(
!
This
)
return
E_OUTOFMEMORY
;
if
(
!
(
This
=
calloc
(
1
,
sizeof
(
*
This
))))
return
E_OUTOFMEMORY
;
This
->
IContextMenu3_iface
.
lpVtbl
=
&
BackgroundContextMenuVtbl
;
This
->
IShellExtInit_iface
.
lpVtbl
=
&
ShellExtInitVtbl
;
...
...
@@ -1550,10 +1550,6 @@ HRESULT BackgroundMenu_Constructor(IShellFolder *parent, BOOL desktop, REFIID ri
This
->
ref
=
1
;
This
->
parent
=
parent
;
This
->
pidl
=
NULL
;
This
->
apidl
=
NULL
;
This
->
cidl
=
0
;
This
->
desktop
=
desktop
;
if
(
parent
)
IShellFolder_AddRef
(
parent
);
...
...
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