Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
306129c9
Commit
306129c9
authored
Nov 14, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Don't leak node in xmldoc_createElement in the wrong type was specified.
parent
76d0cab1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
xmldoc.c
dlls/msxml3/xmldoc.c
+1
-2
No files found.
dlls/msxml3/xmldoc.c
View file @
306129c9
...
...
@@ -449,11 +449,10 @@ static HRESULT WINAPI xmldoc_createElement(IXMLDocument *iface, VARIANT vType,
*
ppElem
=
NULL
;
node
=
xmlNewNode
(
NULL
,
empty
);
if
(
V_VT
(
&
vType
)
!=
VT_I4
)
return
E_INVALIDARG
;
node
=
xmlNewNode
(
NULL
,
empty
);
node
->
type
=
type_msxml_to_libxml
(
V_I4
(
&
vType
));
/* FIXME: create xmlNodePtr based on vType and var1 */
...
...
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