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
30410d48
Commit
30410d48
authored
May 04, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 05, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Fix a BSTR leak (Valgrind).
parent
4a284644
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
domdoc.c
dlls/msxml3/tests/domdoc.c
+2
-3
No files found.
dlls/msxml3/tests/domdoc.c
View file @
30410d48
...
...
@@ -11045,7 +11045,6 @@ static void test_xmlns_attribute(void)
hr
=
IXMLDOMDocument_appendChild
(
doc
,
(
IXMLDOMNode
*
)
root
,
NULL
);
EXPECT_HR
(
hr
,
S_OK
);
str
=
SysAllocString
(
szAttribute
);
hr
=
IXMLDOMDocument_createAttribute
(
doc
,
_bstr_
(
"xmlns:dt"
),
&
pAttribute
);
ok
(
hr
==
S_OK
,
"returns %08x
\n
"
,
hr
);
...
...
@@ -11062,16 +11061,16 @@ static void test_xmlns_attribute(void)
hr
=
IXMLDOMDocument_get_documentElement
(
doc
,
&
elem
);
EXPECT_HR
(
hr
,
S_OK
);
str
=
NULL
;
hr
=
IXMLDOMElement_get_xml
(
elem
,
&
str
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
todo_wine
ok
(
lstrcmpW
(
str
,
_bstr_
(
"<Testing xmlns:dt=
\"
urn:schemas-microsoft-com:datatypes
\"
dt:dt=
\"
bin.base64
\"
/>"
))
==
0
,
"got %s
\n
"
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
IXMLDOMElement_Release
(
elem
);
IXMLDOMAttribute_Release
(
pAttribute
);
SysFreeString
(
str
);
IXMLDOMDocument_Release
(
doc
);
free_bstrs
();
...
...
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