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
97298e66
Commit
97298e66
authored
Jun 23, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use heap_alloc_zero in NSContainer_Create.
parent
01dc47c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
nsembed.c
dlls/mshtml/nsembed.c
+1
-6
No files found.
dlls/mshtml/nsembed.c
View file @
97298e66
...
...
@@ -1643,7 +1643,7 @@ NSContainer *NSContainer_Create(HTMLDocument *doc, NSContainer *parent)
if
(
!
load_gecko
(
FALSE
))
return
NULL
;
ret
=
heap_alloc
(
sizeof
(
NSContainer
));
ret
=
heap_alloc
_zero
(
sizeof
(
NSContainer
));
ret
->
lpWebBrowserChromeVtbl
=
&
nsWebBrowserChromeVtbl
;
ret
->
lpContextMenuListenerVtbl
=
&
nsContextMenuListenerVtbl
;
...
...
@@ -1656,11 +1656,6 @@ NSContainer *NSContainer_Create(HTMLDocument *doc, NSContainer *parent)
ret
->
doc
=
doc
;
ret
->
ref
=
1
;
ret
->
bscallback
=
NULL
;
ret
->
content_listener
=
NULL
;
ret
->
editor_controller
=
NULL
;
ret
->
editor
=
NULL
;
ret
->
reset_focus
=
NULL
;
nsres
=
nsIComponentManager_CreateInstanceByContractID
(
pCompMgr
,
NS_WEBBROWSER_CONTRACTID
,
NULL
,
&
IID_nsIWebBrowser
,
(
void
**
)
&
ret
->
webbrowser
);
...
...
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