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
ed26bb09
Commit
ed26bb09
authored
Nov 25, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Move element usage into element!=NULL check (Coverity).
parent
1fccc1b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
domdoc.c
dlls/msxml3/tests/domdoc.c
+9
-10
No files found.
dlls/msxml3/tests/domdoc.c
View file @
ed26bb09
...
...
@@ -1316,7 +1316,6 @@ todo_wine
/* now traverse the tree from the root element */
if
(
element
)
{
IXMLDOMNode
*
node
;
r
=
IXMLDOMNode_get_childNodes
(
element
,
&
list
);
ok
(
r
==
S_OK
,
"get_childNodes returned wrong code
\n
"
);
...
...
@@ -1332,19 +1331,19 @@ todo_wine
IXMLDOMNodeList_AddRef
(
list
);
expect_list_and_release
(
list
,
"E1.E2.D1 E2.E2.D1 E3.E2.D1 E4.E2.D1"
);
ole_check
(
IXMLDOMNodeList_reset
(
list
));
node
=
(
void
*
)
0xdeadbeef
;
r
=
IXMLDOMNode_selectSingleNode
(
element
,
szdl
,
&
node
);
ok
(
r
==
S_FALSE
,
"ret %08x
\n
"
,
r
);
ok
(
node
==
NULL
,
"node %p
\n
"
,
node
);
r
=
IXMLDOMNode_selectSingleNode
(
element
,
szbs
,
&
node
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
r
=
IXMLDOMNode_Release
(
node
);
ok
(
r
==
0
,
"ret %08x
\n
"
,
r
);
}
else
ok
(
FALSE
,
"no element
\n
"
);
node
=
(
void
*
)
0xdeadbeef
;
r
=
IXMLDOMNode_selectSingleNode
(
element
,
szdl
,
&
node
);
ok
(
r
==
S_FALSE
,
"ret %08x
\n
"
,
r
);
ok
(
node
==
NULL
,
"node %p
\n
"
,
node
);
r
=
IXMLDOMNode_selectSingleNode
(
element
,
szbs
,
&
node
);
ok
(
r
==
S_OK
,
"ret %08x
\n
"
,
r
);
r
=
IXMLDOMNode_Release
(
node
);
ok
(
r
==
0
,
"ret %08x
\n
"
,
r
);
if
(
list
)
{
r
=
IXMLDOMNodeList_QueryInterface
(
list
,
&
IID_IDispatch
,
NULL
);
...
...
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