Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
9bccd06b
Commit
9bccd06b
authored
Jan 11, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Move potential NULL ptr derefs into their if () case.
parent
8e1e3e5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
domdoc.c
dlls/msxml3/tests/domdoc.c
+3
-3
No files found.
dlls/msxml3/tests/domdoc.c
View file @
9bccd06b
...
...
@@ -531,8 +531,8 @@ static void test_domdoc( void )
r
=
IXMLDOMText_get_attributes
(
nodetext
,
&
pAttribs
);
ok
(
r
==
S_FALSE
,
"ret %08x
\n
"
,
r
);
ok
(
pAttribs
==
NULL
,
"pAttribs not NULL
\n
"
);
IXMLDOMText_Release
(
nodetext
);
}
IXMLDOMText_Release
(
nodetext
);
SysFreeString
(
str
);
/* test Create Comment */
...
...
@@ -550,8 +550,8 @@ static void test_domdoc( void )
r
=
IXMLDOMComment_get_lastChild
(
node_comment
,
&
nodeChild
);
ok
(
r
==
S_FALSE
,
"ret %08x
\n
"
,
r
);
ok
(
nodeChild
==
NULL
,
"pLastChild not NULL
\n
"
);
IXMLDOMText_Release
(
node_comment
);
}
IXMLDOMText_Release
(
node_comment
);
/* test Create Attribute */
r
=
IXMLDOMDocument_createAttribute
(
doc
,
NULL
,
NULL
);
...
...
@@ -582,8 +582,8 @@ static void test_domdoc( void )
r
=
IXMLDOMProcessingInstruction_get_lastChild
(
nodePI
,
&
nodeChild
);
ok
(
r
==
S_FALSE
,
"ret %08x
\n
"
,
r
);
ok
(
nodeChild
==
NULL
,
"nodeChild not NULL
\n
"
);
IXMLDOMProcessingInstruction_Release
(
nodePI
);
}
IXMLDOMProcessingInstruction_Release
(
nodePI
);
r
=
IXMLDOMDocument_Release
(
doc
);
ok
(
r
==
0
,
"document ref count incorrect
\n
"
);
...
...
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