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
2ed7a025
Commit
2ed7a025
authored
Jul 15, 2011
by
Andrew Nguyen
Committed by
Alexandre Julliard
Jul 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Fix two minor leaks in test_mxwriter_properties().
parent
9c5d5d8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
saxreader.c
dlls/msxml3/tests/saxreader.c
+2
-0
No files found.
dlls/msxml3/tests/saxreader.c
View file @
2ed7a025
...
...
@@ -1012,6 +1012,7 @@ static void test_mxwriter_properties(void)
hr
=
IMXWriter_get_encoding
(
writer
,
&
str
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
lstrcmpW
(
str
,
utf16W
)
==
0
,
"expected empty string, got %s
\n
"
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
/* invalid encoding name */
str
=
SysAllocString
(
testW
);
...
...
@@ -1025,6 +1026,7 @@ static void test_mxwriter_properties(void)
hr
=
IMXWriter_get_version
(
writer
,
&
str
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
!
lstrcmpW
(
str
,
_bstr_
(
"1.0"
)),
"got %s
\n
"
,
wine_dbgstr_w
(
str
));
SysFreeString
(
str
);
IMXWriter_Release
(
writer
);
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