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
403201b8
Commit
403201b8
authored
Oct 14, 2010
by
Adam Martinson
Committed by
Alexandre Julliard
Oct 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Prevent a memory leak if domdoc creation fails.
parent
7c47a9d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
domdoc.c
dlls/msxml3/domdoc.c
+2
-0
No files found.
dlls/msxml3/domdoc.c
View file @
403201b8
...
...
@@ -2873,6 +2873,8 @@ HRESULT DOMDocument_create(const GUID *clsid, IUnknown *pUnkOuter, void **ppObj)
hr
=
DOMDocument_create_from_xmldoc
(
xmldoc
,
(
IXMLDOMDocument3
**
)
ppObj
);
if
(
FAILED
(
hr
))
{
free_properties
(
properties_from_xmlDocPtr
(
xmldoc
));
heap_free
(
xmldoc
->
_private
);
xmlFreeDoc
(
xmldoc
);
return
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