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
e3bfe193
Commit
e3bfe193
authored
Dec 09, 2007
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Dec 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fix memory leaks.
parent
0dc76580
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
domdoc.c
dlls/msxml3/tests/domdoc.c
+5
-1
No files found.
dlls/msxml3/tests/domdoc.c
View file @
e3bfe193
...
...
@@ -568,6 +568,7 @@ static void test_domnode( void )
r
=
IXMLDOMNode_get_baseName
(
element
,
&
str
);
ok
(
r
==
S_OK
,
"get_baseName returned wrong code
\n
"
);
ok
(
lstrcmpW
(
str
,
szlc
)
==
0
,
"basename was wrong
\n
"
);
SysFreeString
(
str
);
/* check if nodename is correct */
r
=
IXMLDOMElement_get_nodeName
(
element
,
NULL
);
...
...
@@ -1606,6 +1607,7 @@ static void test_cloneNode(void )
IXMLDOMNode
*
node_clone
;
HRESULT
r
;
BSTR
str
;
static
const
WCHAR
szSearch
[]
=
{
'l'
,
'c'
,
'/'
,
'p'
,
'r'
,
0
};
r
=
CoCreateInstance
(
&
CLSID_DOMDocument
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IXMLDOMDocument2
,
(
LPVOID
*
)
&
doc
);
if
(
r
!=
S_OK
)
...
...
@@ -1619,9 +1621,11 @@ static void test_cloneNode(void )
if
(
!
b
)
return
;
r
=
IXMLDOMNode_selectSingleNode
(
doc
,
_bstr_
(
"lc/pr"
),
&
node
);
str
=
SysAllocString
(
szSearch
);
r
=
IXMLDOMNode_selectSingleNode
(
doc
,
str
,
&
node
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
ok
(
node
!=
NULL
,
"node %p
\n
"
,
node
);
SysFreeString
(
str
);
if
(
!
node
)
{
...
...
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