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
fa4c8c09
Commit
fa4c8c09
authored
Nov 15, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Remove redundant NULL check before SysFreeString (smatch).
parent
20bc10c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
domdoc.c
dlls/msxml3/tests/domdoc.c
+5
-5
No files found.
dlls/msxml3/tests/domdoc.c
View file @
fa4c8c09
...
...
@@ -7537,7 +7537,7 @@ static void test_XDR_schemas(void)
ok
(
err
!=
NULL
,
"domdoc_validate() should always set err
\n
"
);
ole_expect
(
IXMLDOMParseError_get_reason
(
err
,
&
bstr
),
S_FALSE
);
ok
(
IXMLDOMParseError_get_reason
(
err
,
&
bstr
)
==
S_FALSE
,
"got error: %s
\n
"
,
wine_dbgstr_w
(
bstr
));
if
(
bstr
)
SysFreeString
(
bstr
);
SysFreeString
(
bstr
);
IXMLDOMParseError_Release
(
err
);
/* load the next doc */
...
...
@@ -7563,7 +7563,7 @@ static void test_XDR_schemas(void)
ok
(
err
!=
NULL
,
"domdoc_validate() should always set err
\n
"
);
ole_expect
(
IXMLDOMParseError_get_reason
(
err
,
&
bstr
),
S_FALSE
);
ok
(
IXMLDOMParseError_get_reason
(
err
,
&
bstr
)
==
S_FALSE
,
"got error: %s
\n
"
,
wine_dbgstr_w
(
bstr
));
if
(
bstr
)
SysFreeString
(
bstr
);
SysFreeString
(
bstr
);
IXMLDOMParseError_Release
(
err
);
/* load the next doc */
...
...
@@ -7587,7 +7587,7 @@ static void test_XDR_schemas(void)
ole_expect
(
IXMLDOMDocument2_validate
(
doc
,
&
err
),
S_FALSE
);
ok
(
err
!=
NULL
,
"domdoc_validate() should always set err
\n
"
);
todo_wine
ok
(
IXMLDOMParseError_get_reason
(
err
,
&
bstr
)
==
S_OK
,
"got error: %s
\n
"
,
wine_dbgstr_w
(
bstr
));
if
(
bstr
)
SysFreeString
(
bstr
);
SysFreeString
(
bstr
);
IXMLDOMParseError_Release
(
err
);
/* load the next doc */
...
...
@@ -7611,7 +7611,7 @@ static void test_XDR_schemas(void)
ole_expect
(
IXMLDOMDocument2_validate
(
doc
,
&
err
),
S_FALSE
);
ok
(
err
!=
NULL
,
"domdoc_validate() should always set err
\n
"
);
todo_wine
ok
(
IXMLDOMParseError_get_reason
(
err
,
&
bstr
)
==
S_OK
,
"got error: %s
\n
"
,
wine_dbgstr_w
(
bstr
));
if
(
bstr
)
SysFreeString
(
bstr
);
SysFreeString
(
bstr
);
IXMLDOMParseError_Release
(
err
);
IXMLDOMDocument2_Release
(
doc
);
...
...
@@ -7966,7 +7966,7 @@ static void test_get_dataType(void)
ole_expect
(
IXMLDOMParseError_get_errorCode
(
err
,
&
l
),
S_FALSE
);
ole_expect
(
IXMLDOMParseError_get_reason
(
err
,
&
bstr
),
S_FALSE
);
ok
(
l
==
0
,
"got %08x : %s
\n
"
,
l
,
wine_dbgstr_w
(
bstr
));
if
(
bstr
)
SysFreeString
(
bstr
);
SysFreeString
(
bstr
);
IXMLDOMParseError_Release
(
err
);
/* check the data types again */
...
...
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