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
c9c47459
Commit
c9c47459
authored
May 04, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 05, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/tests: Fix some stream instance leaks (Valgrind).
parent
1742449a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
saxreader.c
dlls/msxml3/tests/saxreader.c
+5
-0
No files found.
dlls/msxml3/tests/saxreader.c
View file @
c9c47459
...
...
@@ -2443,6 +2443,7 @@ static void test_saxreader(void)
hr
=
ISAXXMLReader_parse
(
reader
,
var
);
EXPECT_HR
(
hr
,
S_OK
);
ok_sequence
(
sequences
,
CONTENT_HANDLER_INDEX
,
test_seq
,
"attribute value normalization"
,
TRUE
);
IStream_Release
(
stream
);
resolver
=
(
void
*
)
0xdeadbeef
;
hr
=
ISAXXMLReader_getEntityResolver
(
reader
,
&
resolver
);
...
...
@@ -2476,6 +2477,8 @@ static void test_saxreader(void)
sprintf
(
seqname
,
"%s: cdata test"
,
table
->
name
);
ok_sequence
(
sequences
,
CONTENT_HANDLER_INDEX
,
test_seq
,
seqname
,
TRUE
);
IStream_Release
(
stream
);
/* 2. CDATA sections */
stream
=
create_test_stream
(
test2_cdata_xml
,
-
1
);
V_VT
(
&
var
)
=
VT_UNKNOWN
;
...
...
@@ -4244,6 +4247,7 @@ static void test_mxwriter_stream(void)
EXPECT_HR
(
hr
,
S_OK
);
ok
(
pos2
.
QuadPart
==
2
,
"got wrong position
\n
"
);
IStream_Release
(
stream
);
ISAXContentHandler_Release
(
content
);
IMXWriter_Release
(
writer
);
...
...
@@ -5509,6 +5513,7 @@ static void test_mxattr_localname(void)
ISAXAttributes_Release
(
saxattr
);
IMXAttributes_Release
(
mxattr
);
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