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
6bc6b0bf
Commit
6bc6b0bf
authored
May 28, 2015
by
Damjan Jovanovic
Committed by
Alexandre Julliard
May 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/tests: Fix SmartTeeFilter reference leaks from the pins in its test.
parent
3a2e7d1a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
qcap.c
dlls/qcap/tests/qcap.c
+3
-0
No files found.
dlls/qcap/tests/qcap.c
View file @
6bc6b0bf
...
...
@@ -127,6 +127,7 @@ static void test_smart_tee_filter(void)
while
(
IEnumPins_Next
(
enumPins
,
1
,
&
pin
,
NULL
)
==
S_OK
)
{
PIN_INFO
pinInfo
;
memset
(
&
pinInfo
,
0
,
sizeof
(
pinInfo
));
hr
=
IPin_QueryPinInfo
(
pin
,
&
pinInfo
);
ok
(
SUCCEEDED
(
hr
),
"QueryPinInfo failed, hr=%08x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
...
...
@@ -154,6 +155,8 @@ static void test_smart_tee_filter(void)
ok
(
0
,
"pin %d isn't supposed to exist
\n
"
,
pinNumber
);
endwhile:
if
(
pinInfo
.
pFilter
)
IBaseFilter_Release
(
pinInfo
.
pFilter
);
IPin_Release
(
pin
);
pinNumber
++
;
}
...
...
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