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
35cff9ec
Commit
35cff9ec
authored
Aug 01, 2023
by
Sven Baars
Committed by
Alexandre Julliard
Aug 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Fix some media type leaks (Valgrind).
parent
c5ca3b00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
avidec.c
dlls/quartz/tests/avidec.c
+2
-0
avisplit.c
dlls/quartz/tests/avisplit.c
+2
-0
No files found.
dlls/quartz/tests/avidec.c
View file @
35cff9ec
...
...
@@ -1525,6 +1525,8 @@ static void test_connect_pin(void)
ok
(
testsource
.
source
.
pin
.
peer
==
sink
,
"Got peer %p.
\n
"
,
testsource
.
source
.
pin
.
peer
);
IFilterGraph2_Disconnect
(
graph
,
&
testsource
.
source
.
pin
.
IPin_iface
);
FreeMediaType
(
&
source_mt
);
FreeMediaType
(
&
req_mt
);
IMemInputPin_Release
(
meminput
);
IPin_Release
(
sink
);
IPin_Release
(
source
);
...
...
dlls/quartz/tests/avisplit.c
View file @
35cff9ec
...
...
@@ -1233,6 +1233,7 @@ static void test_connect_pin(void)
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
ok
(
compare_media_types
(
&
mt
,
&
req_mt
),
"Media types didn't match.
\n
"
);
ok
(
compare_media_types
(
&
testsource
.
source
.
pin
.
mt
,
&
req_mt
),
"Media types didn't match.
\n
"
);
FreeMediaType
(
&
mt
);
hr
=
IMediaControl_Pause
(
control
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
...
...
@@ -1281,6 +1282,7 @@ static void test_connect_pin(void)
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
ok
(
compare_media_types
(
&
mt
,
&
req_mt
),
"Media types didn't match.
\n
"
);
ok
(
compare_media_types
(
&
testsink
.
sink
.
pin
.
mt
,
&
req_mt
),
"Media types didn't match.
\n
"
);
FreeMediaType
(
&
mt
);
hr
=
IMediaControl_Pause
(
control
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
...
...
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