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
916de399
Commit
916de399
authored
Jan 23, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Allocate private data when cloning from existing document.
parent
7a34094e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
domdoc.c
dlls/msxml3/domdoc.c
+3
-2
No files found.
dlls/msxml3/domdoc.c
View file @
916de399
...
...
@@ -2082,7 +2082,9 @@ static HRESULT WINAPI domdoc_load(
if
(
pNewDoc
)
{
domdoc
*
newDoc
=
impl_from_IXMLDOMDocument3
(
pNewDoc
);
xmldoc
=
xmlCopyDoc
(
get_doc
(
newDoc
),
1
);
xmldoc
->
_private
=
create_priv
();
hr
=
attach_xmldoc
(
This
,
xmldoc
);
if
(
SUCCEEDED
(
hr
))
...
...
@@ -3444,8 +3446,7 @@ HRESULT DOMDocument_create(MSXML_VERSION version, IUnknown *pUnkOuter, void **pp
if
(
!
xmldoc
)
return
E_OUTOFMEMORY
;
xmldoc
->
_private
=
create_priv
();
priv_from_xmlDocPtr
(
xmldoc
)
->
properties
=
create_properties
(
version
);
xmldoc_init
(
xmldoc
,
version
);
hr
=
get_domdoc_from_xmldoc
(
xmldoc
,
(
IXMLDOMDocument3
**
)
ppObj
);
if
(
FAILED
(
hr
))
...
...
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